Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
5563
The <Font> Tag (XHTML Reference)
Introduction
The <font> tag is one of the most used tags to format
texts in web pages. However the font element is deprecated and instead it is
recommend using CSS styles.
Example
<font size="3" color="black">
This is the 1st text in black and the font size
3.<br/>
</font>
<font size="1" color="red">
This is the 2nd text in red and the font size 1.<br/>
</font>
<font face="arial" color="blue">
This is the 3rd text in blue and the font name is arial.
</font>
Output
Attributes
Name:
Description:
color
As the name says it defines the color of the text. You
should use one these values:
rgb(x,x,x) = the color values from 0-255
#xxxxxx = hex value of the color
Colorname = any colorname
face
This is the font face name which is going to be used. By
default it uses “Times new roman”.
size
This defines the size of the font. You have to specify a
number between 1-7.