Formatting

The Line Break element, <BR> , specifies that a new line must be started at the given point.

The Paragraph element, <P>, indicates a new paragraph.

 

 

<P>

There is a long story<BR>

This is the new story<BR>

And so on.... <BR>

Nine days later.

FormattingExample

Fonts

<FONT SIZE=3 COLOR=#ff0000 FACE="Arial, Lucida Sans" >

Your text

</FONT>.

FormattingExample

HR : Horizontal Rule

<HR SIZE=number>

<HR WIDTH=number|percent>

<HR ALIGN=left|right|center>

<HR NOSHADE>

FormattingExample

HTML defines six levels of heading. A Heading element implies all the font changes, paragraph breaks before and after

FormattingExample

<PRE> Some text as you have it in a text editor</PRE>

FormattingExample

The Bold element specifies that the text should be rendered in boldface

<B> text</B>

The <SUB> (<SUP>) element specifies that the enclosed text should be displayed as a subscript (superscript), and if practical, using a smaller font (compared with normal text).

FormattingExample