![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
The elements H1, H2, H3, H4, H5 and H6 are used to create several levels of headers, with H1 as the most important header and H6 as the least important.
<!ELEMENT H1 - - (%inline;)* -- heading --> <!ATTLIST H1 %attrs; -- %coreattrs, %i18n, %events -- >from the HTML 4.0 DTD, "Copyright © World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved."
Core attributes:
class
id
style
title
Internationalization attributes:
dir
lang
Events:
onclick
ondblclick
onmousedown
onmouseup
onmouseover
onmousemove
onmouseout
onkeypress
onkeydown
onkeyup
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
Value | Description |
---|---|
CENTER | Center the heading in the middle of the line. |
LEFT | Put the heading on the left side of the document. This is the default. |
RIGHT | Put the heading on the right side of the document. |
![]() |
<H1 align="center">Level 1 header</H1>
|
![]() |
Level 1 headerLevel 2 headerLevel 3 headerLevel 4 headerLevel 5 headerLevel 6 header |