Latest All
Translate Language
Thursday, 23 February 2012
setting colors for different text in same page
<html>
<head>
<style type="text/css">
h1
{
background-color:green;
}
p
{
background-color:blue;
}
div
{
background-color:red;
}
</style>
</head>
<body>
<h1>CSS text color example</h1>
<div>
text
<p>different color</p>
</div>
</body>
</html>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment