Re: Toward Closure on HTML Dave Raggett <firstname.lastname@example.org>
Date: Thu, 7 Apr 1994 10:35:25 --100
From: Dave Raggett <email@example.com>
To: Multiple recipients of list <firstname.lastname@example.org>
Subject: Re: Toward Closure on HTML
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
I would like to clear up a confusion that people seem to be
having on paragraphs in html+.
This is correct:
<p>this is a paragraph.</p>
But so is:
<p>this is a paragraph.
<p>and this is another one
<p>and so is this
SGML allows you to omit end tags when specified by the document type
definition, as parsers can easily infer the end of the element. In this
case the next <P> tag implies the end of the previous paragraph.
***** THERE IS NO NEED TO WRITE THE </P>
Browsers can go beyond the SGML standard and infer missing start tags
as well, so the following illegal piece of html+
followed by a paragraph.
Gets interpreted by the browser as:
<p>followed by a paragraph.
Use <BR> to insert blank lines when you don't want to terminate the paragraph.
-- Dave Raggett