<H1> and </H1>

Description Attributes

Examples

Tips

Description:

The tags <H1> through <H6> are used to define header levels within a document. <H1> is the most significant header and <H6> is the least significant.

Attributes:

align=alignment
Determines how to align the header. May have the following values:

CENTER Center the header
LEFT Align to the left
RIGHT Align to the right
event=JavaScript
When event occurs, execute the specified JavaScript.
id="name"
Give the header a name. This allows the header to be references elsewhere and changed if needed.

Examples:

<H1>Here is header level 1</H1>
<H2>Here is header level 2</H2>
<H3 ALIGN=CENTER>Here is header level 3</H3>
<H4>Here is header level 4</H4>
<H5 ALIGN=RIGHT>Here is header level 5</H5>
<H6 ALIGN=LEFT>Here is header level 6</H6>

Here is header level 1

Here is header level 2

Here is header level 3

Here is header level 4

Here is header level 5
Here is header level 6

Tips:

  1. You can use cascading style sheets to maintain a consistent set of headers throughout a document or web site.

  2. By giving a header a name you may change it directly using dynamic HTML.  This gives you dynamic control over header fonts, colors, sizes and so on.

Internet Tips Contents
404 Errors Advertising Autoresponse Awardmaster Basics Browsers Careers Chatting Disasters Domains Email Emoticons Ezines Free Stuff Fun Stuff FTP Graphics Homepages HTML Reference HTML Tutorial Interactive Legal Links Msg Boards Microsoft Money Multimedia Networks Newsgroups Newsletter Products RFC's Ringmaster Searches Security Sticky Sites Surfing TANSTAAFL Telnet Viral Webmaster Your System