Switch to full style
HTML code examples
Post a reply

Using Arial, Helvetica, sans-serif font family

Thu Feb 23, 2012 12:38 am

In this example we set the font family to Arial, Helvetica, sans-serif using CSS attributes.
Code:
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

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

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

</
style>
</
head>

<
body>
<
div class="NewFont">

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




Post a reply
  Related Posts  to : Using Arial, Helvetica, sans-serif font family
 Using Verdana, Arial, 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     -  
 Configuring the header html font     -  
 change Font of text in java     -  
 Control font size of sub and sup text     -  
 change the font style of the body tag     -  
 using double font families with body tag     -  

Topic Tags

HTML Font