http://www.w3.org/TR/REC-CSS2/fonts.html
<font size="+2" face="Comic Sans MS" color="Gray">

size="+2" face="Comic Sans MS" color="Gray"

</font>
size="+2" face="Comic Sans MS" color="Gray"
face="Helvetica, Arial, Verdana" size="2" color="red"

span style="font-family:Verdana,Helvetica,sans-serif;font-size:18pt;color:red"

<span style="font-size : 14pt">this font is 14 points

<span style="font-size : 14px">this font is 14 pixels

<span style="text-decoration : underline;">this text is underlined

this text is aligned to the right
this text is indented 15 pixels
this text is capitalized
this text is uppercase
text size 1pt to 100pt
blue text
big red bold italic verdana text
B (boldface) The B tag displays text in boldface type.
This tag has been deprecated. Use the font-weight property of Cascading Style Sheets (CSS) instead. Example
This text is in bold face. -- SPAN STYLE="font-weight: bold;"
Example

This paragraph's font size is set to 14 point.

This heading has a font size set to 150%.

Result This paragraph's font size is set to 14 point. This heading has a font size set to 150%.
--------------------------------------------------------------------------------
BIG (bigger font size) The BIG tag increases the font size from its current value by 1. This tag has been deprecated. Use the font-size property of Cascading Style Sheets (CSS) instead. Example This font is extra extra large. Result This font is extra extra large.
--------------------------------------------------------------------------------
CODE (inline code) The CODE tag displays text in the browser's default fixed-width font. For large sections of code where formatting is important, use the PRE tag to preserve the space characters and line breaks used in a program listing. Syntax ...
<CODE>...</CODE>
 
Example

The onLoad attribute for the BODY tag lets you define an action that occurs when the document has finished loading.
For example, onLoad="function1(); function2(); return false;".
Notice that the onLoad code should always return false.


Result The onLoad attribute for the BODY tag lets you define an action that occurs when the document has finished loading. For example, onLoad="function1(); function2(); return false;". Notice that the onLoad code should always return false.
--------------------------------------------------------------------------------
DEL (deleted text) The DEL tag displays text as strikethrough text. This tag has been deprecated. Use the text-decoration property of Cascading Style Sheets (CSS) instead. Example This text has been marked deleted. Result This text has been marked deleted.
EM (emphasized text) The EM tag displays text in an emphasized style. Most browsers display emphasized text in italics. Syntax ...

We ship your products overnight for free!


font (font color, face, size, and weight) If the BASEfont tag has previously been used to set the base font, font size changes specified with the size attribute in the font tag are relative to the base font. Otherwise they are relative to the default font for the browser. This tag has been deprecated. Use Cascading Style Sheets (CSS) instead.
color defines the desired text color. See color for information about color values. This attribute has been deprecated. Use the color property of Cascading Style Sheets (CSS)
face specifies a comma-separated list of font faces. This attribute has been deprecated. Use the font-family property of Cascading Style Sheets (CSS)
size indicates the point size of the font. The size should be specified as a positive integer. This attribute lets you set exact point sizes or percentages relative to the default size. This attribute has been deprecated. Use the font-size property of Cascading Style Sheets (CSS)
WEIGHT indicates the weight, or "boldness" of the font. allows you to specify degrees of boldness from 100 to 900 (steps of 100), where 100 indicates the least bold value, and 900 indicates the boldest value. It can also be set to normal, bold, lighter, or bolder. This attribute has been deprecated. Use the font-weight property of Cascading Style Sheets (CSS)
Example

This text is in the font face "sans-serif."

This paragraph is in the color red.

This paragraph is written in a font size of 20 points.

This paragraph is shown with a font weight of "ligher."


This text is written in italics.SPAN STYLE="font-style:italic"
KBD (keyboard text) The KBD tag displays text in a special font that is meant to indicate that the user should type the text on the keyboard. ...

At the first prompt, enter the user name trainee and at the next prompt enter the password goodlearner.


The Q tag does not create any style changes.

Simon always says add color to your web page to beginners.


SMALL (smaller font size) The SMALL tag reduces the font size from its current value by 1. It has the same effect as using the font tag with a size value of -1. This tag has been deprecated. Use the font-size property of Cascading Style Sheets (CSS) instead. This font is extra extra small.
SUB (subscript) The SUB tag displays text as a subscript. This tag has been deprecated. Use the vertical-align property of Cascading Style Sheets

The chemical notation for water is H2O.


SUP (superscript) The SUP tag displays text as a superscript. This tag has been deprecated. Use the vertical-align property of Cascading Style Sheets

If Einstein was right, then e=mc2.


TT (typewriter font) The TT tag displays text in the fixed-width font. It usually has the same result as the KBD and CODE tags. This tag has been deprecated. Use the font-family property of Cascading Style Sheets (CSS) instead.

To run the program, type xyz at the command prompt.


U (underline) The U tag underlines any text or gaps between the opening and closing tags. This tag has been deprecated. Use the text-decoration property of Cascading Style Sheets (CSS) instead. Example

He was the last person at the meeting.

Result He was the last person at the meeting. -------------------------------------------------------------------------------- VAR (variable) The VAR tag displays text in a special font to show that it is a variable. Most browsers display VAR elements in italic. Syntax ... Example

In this example, the global variable doc1 is bound to the current document.

Result In this example, the global variable doc1 is bound to the current document Now Lines


<hr color="green" size="10" width="50%">



20%
100%
width 20
width 100



1 pixel thick.
8 pixel thick.
15 pixel thick.
1 pixel thick. noshade


: red colored rule, 10 pixels in thickness.