Switch to full style
HTML code examples
Post a reply

Configuring the header html font

Thu Feb 02, 2012 12:58 am

changing the font of header using the CSS attributes.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
>

<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
title>Change header font</title>
<
style type="text/css">
h1{
 
fontbold italic 2em GeorgiaTimes"Times New Roman"serif;
  
font-size1em;
}
 

</
style>
</
head>

<
body>
  <
h1>Starting a new website</h1>
  
</
body>
</
html>
 




Post a reply
  Related Posts  to : Configuring the header html font
 CSS used font families     -  
 Outlining the font in java     -  
 Change the td font style     -  
 chainge Font size of drawing     -  
 change the font style of the body tag     -  
 change Font of text in java     -  
 using double font families with body tag     -  
 Control font size of sub and sup text     -  
 change font size in JavaScript     -  
 Change the link font family and weight     -  

Topic Tags

HTML Heading