I'm still not understanding something that may well be important.In XHTML (and HTML) there are two kinds of tags - empty, and... non-empty. A tag such as <br> is empty - you can't put anything in it. In XHTML (where all tags must be "closed"), <br> is written as <br />; the slash closes the tag.
Could someone tell me where to look to find out why </p> is used at all? I've never been able to see any difference whatsoever in the appearance of a file when I delete all the </p>s.
In HTML as child of SGML you may leave them out as short cut, but not each HTML parser is a real SGML parser, so they do not implement short cuts.
I think what I'm wondering is what a parser that didn't deal with short cuts would do with my HTML page that has no </p> on it. I don't understand why <p> should be any different from <br> -- which, unless I'm missing something big time, doesn't have a </br> associated with it. What is it that </p> _does_, or _enables_?
-- Russ
<p> is a non-empty tag. The contents of <p>...</p> constitute a paragraph. <p> is *not* a paragraph break - <p> is the start of a paragraph; </p> is the end of a paragraph. So, in XHTML, you mustn't omit the </p> tag, else your document won't be well-formed (i.e. all tags are closed); and in HTML it's recommended that you close paragraphs - it's good practice anyway.
-- Greg “well-formed” Nicholson _______________________________________________ mozilla-editor mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-editor
