The HTML Elements reference.

"font" - html element (deprecated)

  • This element is used to change the size, color and face of the enclosed text.
  • Starttag <font> is Required and endtag </font> is Required
  • As this element is deprecated you should instead use style sheets (CSS 'font' ).
  • Browsers that support the font - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari
Element "font" example:
<p> <font face=”Arial, Helvetica, sans-serif” size=”2”>All
text affected by this font tag is now set to size
2.</font> </p>
<p> <font face=”Arial, Helvetica, sans-serif”>All text
affected by this font tag is defaulting to the browser’s
base font size, because no size attribute is
defined.</font> </p>

class , color (deprecated), dir , face (deprecated), id , lang , size (deprecated), style , title

Attribute "class" value(s): A list of style class names that must be separated by white space characters.
  • This attribute assigns a style class name or set of style class names to an element. Any number of elements may be assigned the same class name or names.
  • You will find more about this in the CSS learning on this site.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.