is <p> a block-level or inline-level element?

Posted by Andor on Stack Overflow See other posts from Stack Overflow or by Andor
Published on 2010-05-07T15:32:00Z Indexed on 2010/05/07 15:38 UTC
Read the original article Hit count: 273

Filed under:

hi there,

i got a question when i come across the HTML 4.01 DTD: in the strict DTD, a

element is defined as <!ELEMENT P - O (%inline;)* -- paragraph --> but somewhat i thought

is a block-level, and all(maybe almost) user agents define

as a block-level.

so, i just wondering, is

a block-level or inline-level element.

thx.

© Stack Overflow or respective owner

Related posts about html