Re: When to use <p></p>

You, Michael Godsey wrote:
++ 
++ | From: Chuck Foster  <chuck@pipex.net>
++ |
++ | 2. <p>..</p> mixed with <ul>..</ul> etc
++ |
++ | One of the things that I get confused over is when to use </p>, if at
++ | all.
++ 
++ <P> is not a container object, so there is no </P>.  You can throw it 
++ in, and most browsers won't mind.  It's not a required element, though. 
++  <P> is just a paragraph seperator, not a container.

Please, get your facts straight. <p> *IS* a container element. If it
were a seperator, how on earth could one center a paragraph?

From RFC 1866, the HTML 2.0 RFC:
<!ELEMENT P     - O (%text)*>

Hence, it sure is a container, only that the closing tag is optional.




Abigail

Received on Monday, 18 December 1995 23:59:01 UTC