Sunday, December 12, 2010

Title and Headings

Every HTML document should have title used primarily for document identification

<TITLE>Well come to my website</TITLE>
HTML has six levels of headings, numbered 1 through 6, with 1 being most prominent
<Hy>Text of heading </Hy>
where y is number between 1 and 6

<H1>
Well come to my website
</H1>

Welcome to my website

In many documents, first heading is identical to title
ALIGN attribute can be used to explicitly specify horizontal alignment
ALIGN=LEFT -- Heading is flush left (default)

&amp;lt;H1 ALIGN=LEFT&amp;gt;Lab Schedule&amp;lt;/H1&amp;gt;

Lab Schedule

ALIGN=CENTER -- Heading is centered

&amp;lt;H3 ALIGN=CENTER&amp;gt;Lab Schedule&amp;lt;/H3&amp;gt;

Lab Schedule

ALIGN=RIGHT -- Heading is flush right

&amp;lt;H5 ALIGN=RIGHT&amp;gt;Lab Schedule&amp;lt;/H5&amp;gt;