Example of Simple Font Styling : font family : Text Attributes HTML CSS TUTORIALS


HTML CSS TUTORIALS » Text Attributes » font family »

 

Example of Simple Font Styling


 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Example of Simple Font Styling</title>
<style type="text/css">
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, Times, serif;
}
{
    font-family: Verdana, Arial, Helvetica, sans-serif;
}
</style>
</head>
<body>
<h1>header 1</h1>
<h2>header 2</h2>

<p>this is a test.</p>
</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Text Attributes
» font family