next up previous contents
Next: Recommended Reading Up: Text Formatting with HTML Previous: Horizontal rules and Line

Fonts and Font Sizes

The <font> tag is used to change the font size and type face of text enclosed between the begin and end tag.

Example uses of font tag:

<P><font face="Futura,Helvetica">Sans Serif fonts are fonts without 
the small "ticks" on the strokes of the characters. </font></P>

looks like this:

Sans Serif fonts are fonts without the small "ticks" on the strokes of the characters.

<P>Normal font size. <font size=5>Larger font size.</font></P>

looks like this:

Normal font size. Larger font size.

<font size=1>font size 1</font><br>
	<font size=2>font size 2</font><br>
<font size=3>font size 3</font><br>
	<font size=4>font size 4</font><br>
<font size=5>font size 5</font><br>
<font size=6>font size 6</font><br>
	<font size=7>font size 7</font><br>

looks like this:

font size 1
font size 2
font size 3
font size 4
font size 5
font size 6
font size 7



dave@cs.cf.ac.uk