HTML Font HTML Fonts
HTML Font Tutorial and Information







HTML Tutorial - HTML Fonts

The font tag <font> is deprecated and should no longer be used with HTML. According to the recommendation by the World Wide Web Consortium (W3C) the font tag should no longer be used. Although many websites are still using font tags, the latest versions of HTML, HTML4 and XHTML, do not recommend using font tags.

CSS or Cascading Style Sheets should be used to format fonts with XHTML, the latest version of HTML. The font size, font color, font margin, text alignment, and so on should be specified in a CSS file. More information about CSS and fonts ...

This is How to Set the Font Style or Font Family:

<p style="font-family:arial">This is an Arial Font Style</p>

This is an Arial Font Style

This is How to Set the Font Size:

<p style="font-size:24px">This is a 24 pixel font size</p>

This is a 24 pixel Font Size

This is How to Set the Font Color:

<p style="color:red">This is Red Colored Font</p>

This is Red Colored Font

This is How to Set the Font Style, Font Size, and Font Color:

<p style="font-family:arial;font-size:24px;color:red">
This Font is Arial, 24px Size, Color Red</p>

This Font is Arial, 24px Size, Color Red

For more information about HTML fonts please visit Webmaster Seminar's XHTML and CSS tutorials.




HTML Related Links

© This Article is Copyrighted by WebmasterSeminar.com

Please do not copy or reproduce this article in whole or part, in any form, without mentioning the source and including a live link back to WebmasterSeminar.com - Thank You!

LINK TO THIS TUTORIAL:


Copy the code below and paste into your web page
<a href="http://www.webmasterseminar.com/htmlfonts.php">
Webmaster Seminar</a><br />
HTML Font - Free Information, Tutorials and HTML Resources