home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 May / Gamestar_73_2005-05_dvd.iso / Programy / amaya / amaya-WinXP-9.1.exe / doc / html / HTML-elements / headings.html < prev    next >
Encoding:
Extensible Markup Language  |  2004-02-06  |  2.4 KB  |  60 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3.        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6.   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  7.   <title>Heading elements</title>
  8.   <meta name="GENERATOR" content="amaya 8.2+, see http://www.w3.org/Amaya/" />
  9.   <style type="text/css">
  10.  
  11.   </style>
  12.   <link href="../style.css" rel="stylesheet" type="text/css" />
  13. </head>
  14.  
  15. <body xml:lang="en" lang="en">
  16.  
  17. <table border="0" width="100%" summary="toc">
  18.   <tbody>
  19.     <tr>
  20.       <td><p><img border="0" alt="W3C" src="../../images/w3c_home" /> <img
  21.         border="0" alt="Amaya" src="../../images/amaya.gif" /></p>
  22.       </td>
  23.       <td><p align="right"><a href="structure.html"><img alt="previous"
  24.         border="0" src="../../images/left.gif" /></a> <a
  25.         href="../HTML.html"><img alt="top" border="0"
  26.         src="../../images/up.gif" /></a> <a href="lists.html"><img alt="next"
  27.         border="0" src="../../images/right.gif" /></a></p>
  28.       </td>
  29.     </tr>
  30.   </tbody>
  31. </table>
  32.  
  33. <div id="page_body">
  34. <h1>Heading elements</h1>
  35.  
  36. <p>HTML provides 6 levels of headings: <a
  37. href="http://www.w3.org/TR/REC-html40/struct/global.html#edef-H1"><code>H1,
  38. H2, H3, H4, H5, and H6</code></a>. These should be used to mark headings
  39. according to their relative importance, with <code>h1</code> being the most
  40. important. Headings are block elements, and can only be created as children
  41. of elements that have block-type content. Note that for tables of data there
  42. are special elements to mark headings.</p>
  43.  
  44. <p>The first three levels of heading can be created from the toolbar using
  45. the heading images <img src="../../images/H1.gif" alt="H1 button" />, <img
  46. src="../../images/H2.gif" alt="H2 button" />, <img src="../../images/H3.gif"
  47. alt="H3 button" />. All levels of heading can be created from the
  48. <strong>XHTML</strong> menu, or using keyboard shortcuts. The default
  49. keyboard shortcuts are <kbd>Ctrl 1</kbd> for <code>H1</code>, <kbd>Ctrl
  50. 2</kbd> for <code>h2</code>, and so on to <kbd>Ctrl 6</kbd> for
  51. <code>h6</code>.</p>
  52.  
  53. <p>There are default styles for headings in most browsers to give some idea
  54. of their relative importance, but the author can also use <a
  55. href="../StyleSheets.html">style sheets</a> to provide a suggested
  56. presentation.</p>
  57. </div>
  58. </body>
  59. </html>
  60.