Switch to full style
HTML code examples
Post a reply

Using Verdana, Arial, sans-serif font family

Thu Feb 23, 2012 12:41 am

We set the font family to Verdana, Arial, sans-serif for the text using CSS attributes.
Code:
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<
head>
  <
title>Using VerdanaArialsans-serif font family</title>
  <
style rel="stylesheet" type="text/css">

div.NewFont {
  
font-familyVerdanaArialsans-serif;
  
font-size14px;
  
width:200px;
}

</
style>
</
head>

<
body>
<
div class="NewFont">

<
>In this example we use VerdanaArialsans-serif font family</p>
</
div>
</
body>
</
html>
 




Post a reply
  Related Posts  to : Using Verdana, Arial, sans-serif font family
 Using Arial, Helvetica, sans-serif font family     -  
 Change the link font family and weight     -  
 CSS used font families     -  
 Outlining the font in java     -  
 Change the td font style     -  
 change font size in JavaScript     -  
 chainge Font size of drawing     -  
 Configuring the header html font     -  
 change Font of text in java     -  
 Control font size of sub and sup text     -  

Topic Tags

HTML Font