1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html lang=en>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>HTML 4.0 Block-level Elements</title>
<link rev=Made href="mailto:liam@htmlhelp.com">
<link rel=Start href="index.html">
<link rel=StyleSheet href="style.css" type="text/css">
<link rel=StyleSheet href="aural.css" type="text/css" media=aural>
<link rel="Alternate StyleSheet" href="strictHTMLonly.css" type="text/css" title="Strict HTML only">
<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" src="hideNonStrict.js"></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 && writeButton) {
writeButton("elements");
}
// -->
</script>
<p>Most HTML4.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 HTML4.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><img src="wdglogo-small.gif" width=105 height=40 alt="Web Design Group ~"> <a href="index.html" rel=Start>HTML4.0Reference</a>~ <a href="olist.html">ElementsbyFunction</a>~ <a href="alist.html">ElementsAlphabetically</a></p>
<p class=copyright>Copyright © 1998 by <a href="http://www.htmlhelp.com/%7Eliam/">Liam Quinn</a>. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at <a href="http://www.opencontent.org/openpub/">http://www.opencontent.org/openpub/</a>).</p>
</div>
</body>
</html>
|