<font size="font size"
>...</font>
font
element code. If no size is defined for text on a web page then the web browser will display the text at size 3. size
attribute is a number representing any one of seven different relative sizes. These number 1 through 7 respectively. These are the results you will get when specifying the size
attribute:This is Size 1.
This is Size 2.
This is Size 3.
This is Size 4.
This is Size 5.
This is Size 6.
This is Size 7.
size="font size"
...into your <font>
tag where font size
equals any number from 1 to 7.<font size="4"
>Your visible text goes here and will look like this.</font>
basefont
size. In the absence of a basefont
declaration, the default basefont
is size 3. By entering a value of "+1" for the size
attribute you designate your text to be displayed one size bigger which then equates to size 4. Likewise a value of "+2" equates to font size 5. Going in the other direction, a value of "-1" equates to size 2 and "-2" equates to size 1 (basefont size 3 - 2 = font size 1). big
and small
font style elements. This system works very similar to the size=±1 system in that using one set of <big>...</big>
tags equates to one size bigger while using one set of <small>...</small>
tags equates to one size smaller.<font size="4"
>Same as it ever was...</font>
<font size="+1"
>Same as it ever was...</font>
<big>
Same as it ever was...</big>
<big>...</big>
tags one within the other and using this to format text has the same effect as rendering the text two sizes bigger or, in effect, using the size="+2"
attribute-value pair with the font
element.<font size="5"
>Three of a kind all over again.</font>
<font size="+2"
>Three of a kind all over again.</font>
<big><big>
Three of a kind all over again.</big></big>
big/small
font sizing system as well. This is one of the drawbacks of using these 'instant cakemix' web authoring programs. They can at times produce some very bloated and messy source code. Using one of these programs, when the user highlights the text he wants to make really big and then clicks four times on the make-text-bigger button (quite often denoted by an a+ button on the user interface), the resulting source code will look like this:<big><big><big><big>Your really big text.
</big></big></big></big>
<font size="7">Your really big text.
</font>
<big><big><big><small><small><small>No sizing will be applied to this text..
</small></small></small> ...while this text will appear at size 6.
</big></big></big>
No sizing will be applied to this text...
<font size="6"> ...while this text will appear at size 6.
</font>
<big> <big> <big> <small> <small> <small> </small> </small> </small> </big> </big> </big> <big> <small> </small> <big>
etcetera, ad nauseum, you may give some second thoughts as to how "easy" some WYSIWYG editors really are.
Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates
See also:
If you need a .COM web address, you can get one quick and easy at...
<~ BACK | TOP | NEXT ~> |