Sei sulla pagina 1di 11

Basic Text Formatting Tags, Changing the Color, Size and Face of the Text and Changing the

Background Color of the Document

Prepared by: MARLON L. LALAGUNA

Tag <B></B> <I></I> <U></U>

Name Bold Italic Underline

Description To apply bold style effects on text To slant the text To underline the text Same as Italic effect Same as Bold effect To add a strikethrough line on the text, used for cancelling words Displays the font below the text line Displays the font above the text line

<EM></EM>, Emphasis, Cite <CITE></CITE>


<STRONG> </STRONG> <STRIKE> </STRIKE>

Strong Strikethrough Subscript

<SUB></SUB>

</SUP></SUP> Superscript

The default color of the text is black. In some cases, we might want to change it to the color that will fit on the subject on the Web Page. The value of the color is any color name like red, yellow or you can even use the HEXADECIMAL CODE, which is the equivalent color code for a color name. <font color=Ab0718>

The following is the format used in changing the color of the font:
<font color=yellow>Type any text you want to

change the color.</font> <font color=FFFFFF> Type any text you want to change the color.</font>

It is used to change the default face which is Times New Roman to any font face installed in your computer. Use safe web face value to avoid any changes in your web page when it is already for publication encoded in the Internet. Make use of the primary font like Arial, Century Gothic.

The following is the format used in changing the face of the font:
<font face=Arial> Type any text you want to

change the face.</font>

The possible values that can be assigned in size attribute ranges from 1 to 7. The smallest value is 1 and the 7 being the largest. The default value is 3.

The following is the format used in changing the size of the font:
<font size=5> Type any text you want to change

the size.</font>

The default color is white. It uses the attribute bgcolor and has a value of any color name or hexadecimal.

Of course! That is what we called MULTIPLE ATTRIBUTES AND VALUES. As long as you assign the correct value for each attribute you can apply those different formatting with the chosen text at the same time. See the format below: <font face=Arial Narrow size=5 color=DEF763>Type any text.</font>

Other than letters, numbers, and common punctuation marks, list at least 15 special character entities that are also important in web page publication.

HAPPY LEARNING!
Mr. Marlon Lalaguna

Potrebbero piacerti anche