<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <title>Heading elements</title>
  <meta name="GENERATOR" content="amaya 8.2+, see http://www.w3.org/Amaya/" />
  <style type="text/css">

  </style>
  <link href="../style.css" rel="stylesheet" type="text/css" />
</head>

<body xml:lang="en" lang="en">

<table border="0" width="100%" summary="toc">
  <tbody>
    <tr>
      <td><p><img border="0" alt="W3C" src="../../images/w3c_home" /> <img
        border="0" alt="Amaya" src="../../images/amaya.gif" /></p>
      </td>
      <td><p align="right"><a href="structure.html"><img alt="previous"
        border="0" src="../../images/left.gif" /></a> <a
        href="../HTML.html"><img alt="top" border="0"
        src="../../images/up.gif" /></a> <a href="lists.html"><img alt="next"
        border="0" src="../../images/right.gif" /></a></p>
      </td>
    </tr>
  </tbody>
</table>

<div id="page_body">
<h1>Heading elements</h1>

<p>HTML provides 6 levels of headings: <a
href="http://www.w3.org/TR/REC-html40/struct/global.html#edef-H1"><code>H1,
H2, H3, H4, H5, and H6</code></a>. These should be used to mark headings
according to their relative importance, with <code>h1</code> being the most
important. Headings are block elements, and can only be created as children
of elements that have block-type content. Note that for tables of data there
are special elements to mark headings.</p>

<p>The first three levels of heading can be created from the toolbar using
the heading images <img src="../../images/H1.gif" alt="H1 button" />, <img
src="../../images/H2.gif" alt="H2 button" />, <img src="../../images/H3.gif"
alt="H3 button" />. All levels of heading can be created from the
<strong>XHTML</strong> menu, or using keyboard shortcuts. The default
keyboard shortcuts are <kbd>Ctrl 1</kbd> for <code>H1</code>, <kbd>Ctrl
2</kbd> for <code>h2</code>, and so on to <kbd>Ctrl 6</kbd> for
<code>h6</code>.</p>

<p>There are default styles for headings in most browsers to give some idea
of their relative importance, but the author can also use <a
href="../StyleSheets.html">style sheets</a> to provide a suggested
presentation.</p>
</div>
</body>
</html>
