Re: Re: Closing tags

David R. Rahbany *NOT AUTHENTICATED* (
Wed, 12 Apr 1995 13:11:20 +0500

On Tue, 11 Apr 1995 23:40:41 +0500 Martian <> wrote:
>Well, not having the closing tags for <P>, <LI> etc *is* perfect HTML.
>>From the DTD:
><!ELEMENT P - O (%text)+>
><!ELEMENT DT - O (%text)+>
><!ELEMENT DD - O %flow;>
><!ELEMENT LI - O %flow; -- list item -->
>The `-' after the element name indicates the opening tag is required,
>the `O' in the second field after the name indicates the closing tag
>is optional. Hence, using <P>, <LI>, <DT> and <DD> without </P>,
></LI>, </DT> and </DD> *is* perfect HTML.

Please excuse my ignorance, but I'd like clarification
on the "<P>" element. Does this tag denote an _end_ of
paragraph mark or a _begining/new_ paragraph mark? In
other words, which of the following should appear in a
proper HTML document?

<P>This is a paragraph.


This is a paragraph<P>



David R. Rahbany
Client Services Specialist
Celestial Seasonings, Inc.
Voice: 303-581-1304
Fax: 303-581-1349