1.0 HTML, Block-Formatting Tags and Properties

<Address>...</Address>

This tag is used to enter address information. The text is usually italicized and in some browsers it is indented

HTML Example

<Address>

Mark boss

23411 cardinal Dr

Dayton, Ohio

N3R-5E8 USA.

</Address>

Browser Output

Mark Boss
23411 Cardinal Dr
Dayton, OhioN3R,5E8 USA.
           Table Of Contents                         Next Section



<BASEFONT> SIZE=Value

This tag specifies the default font size for the text in the document. Where Value is the size "in points" of the text. The default value is 3 .

HTML Example

<Basefont size=2> VANCOUVER

<Basefont size=5> VANCOUVER

<Basefont size=6> VANCOUVER

Browser Output

VANCOUVER

VANCOUVER

VANCOUVER
           Table Of Contents                         Next Section



<BLOCKQUOTE>...</BLOCKQUOTE>

By using this tag, you can set off long quotes or citations by indenting the enclosed text on both sides.

HTML Example

<BLOCKQUOTE> VANCOUVER VANCOUVERVANCOUVERVANCOUVER </BLOCKQUOTE>

Browser Output

VANCOUVERVANCOUVER VANCOUVERVANCOUVER
           Table Of Contents                         Next Section



<BR> Clear=Option

(LEFT|RIGHT|ALL|NONE)


This tag forces a line break in the text. It causes the next line to start at the spot in which the specified margin is clear

HTML Example

VANCOUVER <BR>

VANCOUVER

Browser Output

VANCOUVER


VANCOUVER

           Table Of Contents                         Next Section



<CENTER>...</CENTER>

This tag centers all the enclosed text or images horizontally

HTML Example

<CENTER> VANCOUVER

VANCOUVER </CENTER>

Browser Output

VANCOUVER

VANCOUVER

           Table Of Contents                         Next Section



<DFN>...</DFN>

This tag is used for the defining instance of a term. The enclosed text is usually italicized

HTML Example

<DFN> VANCOUVER </DFN>

<DFN> VANCOUVER </DFN>

Browser Output

VANCOUVER

VANCOUVER

           Table Of Contents                         Next Section



<HR>

ALIGN=Option --- (LEFT|CENTER|RIGHT)

COLOR=Color---NOSHADE

SIZE=Value---WIDTH=Value


The <HR> tag is used to insert a horizontal line in a web page. It is a one sided tag, meaning a closing </HR> tag is not used.different properties can be used with <HR> tag such as the width and size of the line which will be added.

HTML Example

Vancouver is a city in B.C.

<HR ALIGN=CENTER SIZE=5 COLOR=GREEN WIDTH=50% >

<HR ALIGN=CENTER SIZE=2 COLOR=RED WIDTH=30% >

Vancouver is a city in B.C.

Browser Output

Vancouver is a city in B.C.



Vancouver is a city in B.C.

           Table Of Contents                         Next Section



<H1>...</H1> | <H2>...</H2>

<H3>...</H3> | <H4>...</H4>

<H5>...</H5> | <H6>...</H6>

ALIGN = Option | (LEFT | RIGHT | CENTER)


HTML provides six levels of headings 1 through 6. Where 1 is the largest font size. Additional properties can be also included in the Heading tag such as the alignment of the Heading.

HTML Example

<H1> VANCOUVER </H1>

<H2> VANCOUVER </H2>

<H3> VANCOUVER </H3>

Browser Output

VANCOUVER

VANCOUVER

VANCOUVER

           Table Of Contents                         Next Section



<LISTING>...</LISTING>

This tag causes the text to be displayed in a fixed width font resembling a typewriter or a computer printout.

HTML Example

<LISTING>

VANCOUVER

VANCOUVER

</LISTING>

Browser Output

VANCOUVER VANCOUVER
           Table Of Contents                         Next Section



<NOBR>...</NOBR>

Not used very often,this tag prevents line breaks for the enclosed text.

HTML Example

<NOBR>

VANCOUVER VANCOUVER VANCOUVER

</NOBR>

Browser Output

VANCOUVER VANCOUVER VANCOUVER
           Table Of Contents                         Next Section



<P>...</P>

ALIGN=Option | (LEFT | CENTER | RIGHT)

The paragraph tag <P>, is used in different ways in the different versions of HTML. To enter a paragraph in a web document. The <P> tag causes a line break followed by an additional line. This tag is also used to add a blank line between different paragraphs in a web page. A </P> tag usually closes a paragraph.

HTML Example

<P> Victoria is the capital city of B.C. </P>

<P> Victoria is the capital city of British Columbia. Whereas Vancouver, New Westminister, Burnaby, Surrey, Abbotsford, Coquitlam, and Richmand are some of the cities in B.C.</P>

Browser Output

Victoria is the capital city of British Columbia.

Victoria is the capital city of British Columbia. Whereas Vancouver, New Westminister, Burnaby, Surrey, Abbotsford, Coquitlam, and Richmond are some of the cities in B.C.

           Table Of Contents                         Next Section



<PLAINTEXT>...</PLAINTEXT>


This tag displays text in a fixed width font.

HTML Example

<PLAINTEXT> Victoria is the capital city of B.C. </PLAINTEXT>

Browser Output

Victoria is the capital city of B.C.
           Table Of Contents                         Next Section



<PRE>...</PRE>


This tag allows you to preformate the appearance of the text in the HTML file. you can add extra spaces and line breaks too. It displays the text in a fixed width font.

HTML Example

<PRE>

VANCOUVER       AND     VICTORIA
</PRE>

Browser Output

VANCOUVER       AND       VICTORIA
           Table Of Contents                         Next Section



<WBR>...</WBR>


This tag is used in conjunction with the <NOBR> tag. It overrides other tags that preclude the creation of line breaks and directs the browser to insert a line if necessary.

HTML Example

<WBR>VANCOUVER AND VICTORIA VANCOUVER AND VICTORIA</WBR>

Browser Output

VANCOUVER AND VICTORIA VANCOUVER AND VICTORIA
           Table Of Contents                         Next Section



<XMP>...</XMP>


This tag displays a block of text in a fixed width font. It is not used very often.

HTML Example

<XMP>VANCOUVER AND VICTORIA </XMP>

Browser Output

VANCOUVER AND VICTORIA
           Table Of Contents                         Next Section