'font' Example : font « HTML Tag Reference « HTML CSS Reference






'font' Example


<html>
<head>
<title>font element example</title>
</head>
<body>
    <font face="Verdana, Arial, Helvetica, sans-serif" size="30" color="#006699">
    This element is an inline element.
    </font>
    <br>
    <font face="Times New Roman, Times, serif" size="40" color="#CC3366">
    <i>This fontwill appear in Times.</i>
    </font>
    <br>
    <font face="Courier New, Courier, mono" size="20" color="#0000FF">
    Courier New.
    </font>
    <font size="20" color="#0000FF">
    size and color
    </font>
    <font color="#0000FF">
    color
    </font>
</body>
</html>

    
      
      








Related examples in the same category

1.'font' Syntax and Note
2.'font' HTML Attributes
3.'font' Event Handlers
4.'font' CSS Attributes and JavaScript Style Properties
5.'font' Microsoft Behaviors
6.'font' Microsoft Filters
7.'font' JavaScript Properties
8.'font' JavaScript Methods
9.'font' JavaScript Collections
10.'font' JavaScript Objects