Vectorials
Flash Perfection
3D Lessons
Tutorialkit
Markup Tutorials
Learn PHP
network
adv banner
HTML and CSS  Home HTML and CSS Tutorials Font Size
rss

Font Size

Author: WebMonkey More by this author


Font Size<font size=#> adjusts font size </font> returns font to default size

Before the release of Netscape Navigator 1.1, typographic options on the Web were limited to the one font and size that any given browser allowed. But the <font size> tag - allowing publishers to vary font sizes, not just from page to page, but word to word - gave us one more tool to improve (or, for that matter, impair) the readability of our pages.

The default font size = 3, but you can alter it by inserting a specific numeral, such as <font size=5>, or a relative value, which changes the size in relation to the default: <font size=+2> or <font size=-1>, for example.

So if you write in your HTML doc:

<font size=6>I am a big person.</font>

You'll get:

I am a big person.

Unlike the headline tags, which force headlines of different sizes onto different lines, the <font size> tags let you combine different sized words on the same line, so you can

stride across the page like a COLOSSUS!

You can choose from seven convenient font sizes:

This is <font size=1>.

This is <font size=2>.

This is <font size=3>.

This is <font size=4>.

This is <font size=5>.

This is <font size=6>.

This is <font size=7>.

You should note that the <font size> tag doesn't work in all browsers (Mosaic, for one, doesn't support it).

I hope this came in useful!



Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "Font Size"