<h1-7>Places a heading onto your document. Heading tags automatically place a page break before and after the closing and opening tags. Attribute | Description | align | Horizontally align various tags or content. | class | Classify or name your elements. For instance, if you classify several paragraph elements the same name, using CSS it is possible to give them all the same styles in one line of code. | id | Specify an ID for your elements. | lang | Define the language to display your element in. Here's a link to the abbreviations of languages. http://www.oasis-open.org/cover/iso639a.html | style | Used to create inline styles such as CSS. | title | Places a "pop-up" title for an element upon mouse over. Similar to "help" pop-ups in word programs. | valign | Vertically align an element. |
Code:
<h1 class="heading">Headings go smaller</h1>
<h2 class="heading">smaller</h2>
<h3 class="heading">smaller</h3>
<h7 class="heading">and smaller</h7>
Display:
Headings go smaller
smaller
smaller
and smaller |