Re: Re: Closing tags
David R. Rahbany *NOT AUTHENTICATED* (drahbany@ctea.com)
Wed, 12 Apr 1995 13:11:20 +0500
On Tue, 11 Apr 1995 23:40:41 +0500 Martian <abigail@mars.ic.iaf.nl> 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.
>
>
>Abigail
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.
or
This is a paragraph<P>
Thanks!
Dave
_____________________________
David R. Rahbany
Client Services Specialist
Celestial Seasonings, Inc.
e-Mail: drahbany@ctea.com
Voice: 303-581-1304
Fax: 303-581-1349