Paragraphs Elements as Containers

Christian Neuss neuss at igd.fhg.de
Wed May 10 02:30:50 PDT 1995


Robert Seymor wrote:
>  In parsing a paragraph element, omniweb does not distinguish between
> the use   of a paragraph tag pair as a container and a paragraph tag
> stadalone as a new   paragraph descriptor.  The two uses are (for
> example):
>
> 	<p>This is my paragraph in a container.</p>
>
> 	This is my paragraph using an ending tag only.<p>

Robert is right. Whether or not it can easily be fixed depends on
the way the parse engine works (would anybody from Omni Development
like to comment?). The general idea is that a browser has to guess
missing start and end tags. If a tag is found to be missing, it
has to be inserted.

BTW, using <P> at the end of a paragraph is commoon but incorrect,
while this
<P> sentence 1
<P> sentence 2
is correct use. However, nobody does this, so browsers have to guess
the missing starting tag and imply an end tag whenever the next <P>
starts a new paragraph.

Chris
---
"I ride tandem with a random.."
Christian Neuss   # Fraunhofer Institute for Computer Graphics
Wilhelminenstr.7  #  64283 Darmstadt # Germany
e-mail: neuss at igd.fhg.de  http://www.igd.fhg.de/~neuss/me.html


More information about the OmniWeb-l mailing list