XHTML 1.0 Block-Level Elements
Most XHTML 1.0 elements permitted within the body are classified as
either block-level elements or inline elements. Block-level elements typically
contain inline elements and other block-level elements. When
rendered visually, block-level elements usually begin on a new
line.
The following are defined as block-level elements in
XHTML 1.0:
- address - Address
- blockquote - Block
quotation
- center -
Centered block
- dir -
Directory list
- div - Generic block-level
container
- dl - Definition list
- fieldset - Form control
group
- form - Interactive form
- h1 - Level-one heading
- h2 - Level-two heading
- h3 - Level-three heading
- h4 - Level-four heading
- h5 - Level-five heading
- h6 - Level-six heading
- hr - Horizontal rule
- isindex -
Input prompt
- menu - Menu
list
- noframes - Frames alternate content
- noscript - Alternate script
content
- ol - Ordered list
- p - Paragraph
- pre - Preformatted text
- table - Table
- ul - Unordered list
The following elements may also be considered block-level
elements since they may contain block-level elements:
- dd - Definition description
- dt - Definition term
- frameset -
Frameset
- li - List item
- tbody - Table body
- td - Table data cell
- tfoot - Table foot
- th - Table header cell
- thead - Table head
- tr - Table row
The following elements may be used as either block-level
elements or inline elements. If used as
inline elements (e.g., within another inline element or a
p), these
elements should not contain any block-level elements.