Learning Resources
 

font tag for more Font style


The HTML tag is used to specify the font of the text.

The font element is deprecated in HTML as well as in XHTML.

Example:



The HTML font tag is now deprecated. You should use start using CSS to set font size and family.



This will produce following result:

The HTML font tag is now deprecated. You should use start using CSS to set font size and family.