HTM04


BACK

DESCRIPTION

OUTPUT

SOURCE CODE






DESCRIPTION:

     HEADINGS are container tags which format text using pre-defined values for size and color. There are 6 heading tags and they are <H1>�<H6>, with <H1> providing the largest size text and <H6> providing the smallest size each having its own effects on texts. Additionally, extra lines are placed after headings when displayed on a Web browser.


..Back to the top..




OUTPUT:

HTM04. Heading tags Web pages

This text is size H1


This text is centered and size H2


This text is right justified and size H3


This text is size H4


This text is size H5

This text is size H6

..Back to the top..



SOURCE CODE:



<HTML>
<HEAD>
<TITLE>HTM04. Heading tags Web pages</TITLE>
</HEAD>
<BODY>
<H1> This text is size H1</H1><BR>
<H2 ALIGN = center> This text is centered and size H2
</H2><BR>
<H3 ALIGN = right> This text is right justified and size H3
</H3><BR>
<H4> This text is size H4 </H4><BR>
<H5> This text is size H5 </H5><BR>
<H6> This text is size H6 </H6>
</BODY>
</HTML>


..Back to the top..