Switch to full style
HTML code examples
Post a reply

change the font style of the body tag

Thu Dec 15, 2011 11:51 pm

Code:


<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
    <head>
        <title>Change the font style and color of your body</title>

<
style type="text/css">

body {
  font: bold 25px Verdana, sans-serif; 
  color
:red;
}
</
style>
    </head>
    <body>  
    
<p>This text is inside the body tag as you see 
    it is affect by the new font style
.</p>
    </body>
    
</html>

 




Post a reply
  Related Posts  to : change the font style of the body tag
 Change the td font style     -  
 using double font families with body tag     -  
 Change the body tag background in html     -  
 change font size in JavaScript     -  
 change Font of text in java     -  
 Change the link font family and weight     -  
 change the style of the kbd     -  
 Change table style using CSS     -  
 change border style to solid at div tag     -  
 Change the border style on mouse over     -  

Topic Tags

CSS Font, HTML Body