Text in HTML

Tags USE
<H2> Gives heading size between 1-6(As the No.)
<B> Bold Characters
<I> Italic characters
<U> Underlining the characters
<P> Start a new para.
<BR> Break a line
<P align = Center> Aligns the para in center
<P align = left> Aligns the para in left
<P align = right> Aligns the para in right margine
<Font Size = 3> Sets the fontsize in range 1-6
<Font COLOR = "RED"> Sets the fontcolor
<Font = " "> Sets the font type
<tt> Sets the text as a typewritter would.

The above table shows the various tags that r sufficient for efficient web page text formatting. One thing that must be kept in mind is all tags should be closed right after use by using a "/" in tag as shown below:

for a tag <B> it is closed as </B>


In this way all the above tags can be used for text formatting.These tags can be used in nested way also.Say for example u need a Bold Italic characters so u can do this as:

<B><I>bold Italic text </B></I>Normal text

In this way nesting of all tags can be done.Font size can be varied as

<Font Size = 1>Smallest Size<\Font>

<Font Size = 6> Here text Size is 6 <\Font>

<Font color = "Red" Size=3> Color = red and size = 3 </Font color = "Red" Size=3>


This is known as nesting of tags.Different tags can be nested so that one can get the exact formate he wants.

Hosted by www.Geocities.ws

1