tags:

views:

103

answers:

4
+3  A: 

Block level

Source: here

gmcalab
+8  A: 

It is a block level element. What that DTD is saying is that <p> tags can only contain inline elements.

nickf
+1 for the DTD explanation
Daniel DiPaolo
thx for you answer. i got it.
Andor
@Andor, please mark this an the accepted answer if this helped you.
gmcalab
+5  A: 

Of course it is.

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.

* applet - Java applet
* button - Button
* del - Deleted text
* iframe - Inline frame
* ins - Inserted text
* map - Image map
* object - Object
* script - Client-side script

More Info Here

Sarfraz
+3  A: 

It is block, but like any other block element the CSS display property can make it behave in a few ways, including inline or inline-block.

Chase Higgins