home *** CD-ROM | disk | FTP | other *** search
Wrap
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html lang=en> <head> <title>HTML 4.0 Block-level Elements</title> <link rev=Made href="mailto:liam@htmlhelp.com"> <link rel=Start href="index.html"> <link rel=Glossary href="http://www.htmlhelp.com/glossary/glossary.html"> <link rel=Copyright href="http://www.htmlhelp.com/copyright.html"> <link rel=StyleSheet href="style.css" type="text/css"> <link rel=StyleSheet href="aural.css" type="text/css" media=aural> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta name="author" content="Liam Quinn"> <meta name="description" content="A description and listing of block-level elements in HTML 4.0."> <meta name="keywords" content="block-level, elements, block, HyperText Markup Language, HTML, HTML4, HTML 4.0, Web Design Group, WDG"> <script type="text/javascript"> <!-- function toggle() { if (document.all.toggler.value == "Hide non-strict elements") { document.styleSheets[0].addRule("li.transitional", "display:none"); document.styleSheets[0].addRule("li.frameset", "display:none"); document.styleSheets[0].addRule(".transitional", "speak:none"); document.styleSheets[0].addRule(".frameset", "speak:none"); document.all.toggler.value = "Show non-strict elements"; } else { document.styleSheets[0].addRule("li.transitional", "display:list-item"); document.styleSheets[0].addRule("li.frameset", "display:list-item"); document.styleSheets[0].addRule(".transitional", "speak:inherit"); document.styleSheets[0].addRule(".frameset", "speak:inherit"); document.all.toggler.value = "Hide non-strict elements"; } } // --> </script> </head> <body> <h2><img src="wdglogo1.gif" width=250 height=83 alt="The Web Design Group"></h2> <h1>HTML 4.0 Block-Level Elements</h1> <script type="text/javascript"> <!-- if (document.styleSheets) { var gt; gt = unescape(new String("%3E")); document.write("<p" + gt + "<input type=button value=\"Hide non-strict elements\" id=toggler accesskey=s onclick=\"toggle()\"" + gt + "<\/p" + gt); } // --> </script> <p>Most HTMLá4.0 elements permitted within the <strong class=html><a href="html/body.html">BODY</a></strong> are classified as either <em>block-level elements</em> or <a href="inline.html">inline elements</a>. Block-level elements typically contain inline elements and other block-level elements. When rendered visually, block-level elements usually begin on a new line.</p> <p>The following are defined as block-level elements in HTMLá4.0:</p> <ul class=elements> <li><a href="block/address.html">ADDRESS</a> - Address</li> <li><a href="block/blockquote.html">BLOCKQUOTE</a> - Block quotation</li> <li class=transitional><a href="block/center.html">CENTER</a> - Centered block</li> <li class=transitional><a href="lists/dir.html">DIR</a> - Directory list</li> <li><a href="block/div.html">DIV</a> - Generic block-level container</li> <li><a href="lists/dl.html">DL</a> - Definition list</li> <li><a href="forms/fieldset.html">FIELDSET</a> - Form control group</li> <li><a href="forms/form.html">FORM</a> - Interactive form</li> <li><a href="block/h1.html">H1</a> - Level-one heading</li> <li><a href="block/h2.html">H2</a> - Level-two heading</li> <li><a href="block/h3.html">H3</a> - Level-three heading</li> <li><a href="block/h4.html">H4</a> - Level-four heading</li> <li><a href="block/h5.html">H5</a> - Level-five heading</li> <li><a href="block/h6.html">H6</a> - Level-six heading</li> <li><a href="block/hr.html">HR</a> - Horizontal rule</li> <li class=transitional><a href="block/isindex.html">ISINDEX</a> - Input prompt</li> <li class=transitional><a href="lists/menu.html">MENU</a> - Menu list</li> <li class=transitional><a href="frames/noframes.html">NOFRAMES</a> - Frames alternate content</li> <li><a href="block/noscript.html">NOSCRIPT</a> - Alternate script content</li> <li><a href="lists/ol.html">OL</a> - Ordered list</li> <li><a href="block/p.html">P</a> - Paragraph</li> <li><a href="block/pre.html">PRE</a> - Preformatted text</li> <li><a href="tables/table.html">TABLE</a> - Table</li> <li><a href="lists/ul.html">UL</a> - Unordered list</li> </ul> <p>The following elements may also be considered block-level elements since they may contain block-level elements:</p> <ul class=elements> <li><a href="lists/dd.html">DD</a> - Definition description</li> <li><a href="lists/dt.html">DT</a> - Definition term</li> <li class=frameset><a href="frames/frameset.html">FRAMESET</a> - Frameset</li> <li><a href="lists/li.html">LI</a> - List item</li> <li><a href="tables/tbody.html">TBODY</a> - Table body</li> <li><a href="tables/td.html">TD</a> - Table data cell</li> <li><a href="tables/tfoot.html">TFOOT</a> - Table foot</li> <li><a href="tables/th.html">TH</a> - Table header cell</li> <li><a href="tables/thead.html">THEAD</a> - Table head</li> <li><a href="tables/tr.html">TR</a> - Table row</li> </ul> <p>The following elements may be used as either block-level elements or <a href="inline.html">inline elements</a>. If used as inline elements (<abbr title="for example"><i lang=la>e.g.</i></abbr>, within another inline element or a <strong class=html><a href="block/p.html">P</a></strong>), these elements should not contain any block-level elements.</p> <ul class=elements> <li class=transitional><a href="special/applet.html">APPLET</a> - Java applet</li> <li><a href="forms/button.html">BUTTON</a> - Button</li> <li><a href="phrase/del.html">DEL</a> - Deleted text</li> <li class=transitional><a href="special/iframe.html">IFRAME</a> - Inline frame</li> <li><a href="phrase/ins.html">INS</a> - Inserted text</li> <li><a href="special/map.html">MAP</a> - Image map</li> <li><a href="special/object.html">OBJECT</a> - Object</li> <li><a href="special/script.html">SCRIPT</a> - Client-side script</li> </ul> <div class=footer> <address>Maintained by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a> <<a href="mailto:liam@htmlhelp.com">liam@htmlhelp.com</a>></address> <p class=toolbar><a href="http://www.htmlhelp.com/"><img src="wdglogo-small.gif" width=105 height=40 alt="Web Design Group ~"></a> <a href="index.html" rel=Start>HTMLá4.0áReference</a>á~ <a href="olist.html">ElementsábyáFunction</a>á~ <a href="alist.html">ElementsáAlphabetically</a></p> <p class=copyright><a href="http://www.htmlhelp.com/copyright.html">Copyright ⌐</a> 1998 Liam Quinn. All rights reserved.</p> </div> </body> </html>