Switch to full style
HTML code examples
Post a reply

Changing the color and properties of the header tag

Thu Feb 02, 2012 12:28 am

Adding css style for the H1 header tag.
Code:
<html>
<
head>
<
title>Add style </title>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
style rel="stylesheet" type="text/css">
h1 {
  
margin2px;
  
padding2px;
  
text-alignleft;
  
background#FFC146;
  
color#fff;
}
</
style>
</
head>
<
body>
    <
center>
        <
h1>Your affected header</h1>
    </
center>
</
body>
</
html>
 




Post a reply
  Related Posts  to : Changing the color and properties of the header tag
 Changing link color     -  
 Changing the color of a graph draw in java     -  
 changing the background color for site main menu.     -  
 Changing the line height of the paragraph     -  
 Changing the Type of a Variable with settype()     -  
 Change the properties of div tag     -  
 links CSS properties     -  
 Change CSS Properties from JQuery     -  
 Class static properties     -  
 Java properties utility     -  

Topic Tags

HTML Heading