Help!!!!!

+3 Aditya Nagla · January 18, 2015
There are many <h3> headers & <p> links in my XHTML,so i need to color only 1 <h3> header,so how should i color a particular header or paragraph in <head><style type = "text/css"></style></head> ???

Post a Reply

Replies

Oldest  Newest  Rating
0 Mauricio Torrejon · January 18, 2015
If I understand correctly, you can do the following:
...
<head>
 <style>
   #certain_header{
     color: #000;
   }
 </style>
</head>
<body>
 <h3 id="certain_header"> This is a header</h3>
</body>
...
0 Aditya Nagla · January 18, 2015
Thanks A LOt,Got it (Y)
  • 1

HTML / CSS / Web Design

107,050 followers
About

Discuss, share, ask, learn and teach HTML5 and CSS3.

Links
Moderators