Skip site navigation (1)Skip section navigation (2)
Date:      13 Mar 2002 21:29:43 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        ue@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release/doc/en_US.ISO8859-1/hardware/alpha proc-alpha.sgml
Message-ID:  <xzpbsdsgqiw.fsf@flood.ping.uio.no>
In-Reply-To: <200203131806.g2DI6o3b087697@aldan.algebra.com>
References:  <200203131806.g2DI6o3b087697@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mikhail Teterin <mi@aldan.algebra.com> writes:
> On 13 Mar, Udo Erdelhoff wrote:
> >   - for each opening tag, there should be a closing tag
> My understanding was, the SGML does not require this. XML does... Is
> that wrong?

Depends on the DTD and the element in question.  Some tags (like <br>
in HTML) don't need a closing tag, some (like <em> in HTML) do.

In XML, all elements need a closing tag, unless the element is empty,
in which case you can use the short form, like <br /> - note that the
space is required by the specification, though not all XML parsers
will complain if it's missing.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpbsdsgqiw.fsf>