Date: Wed, 13 Mar 2002 17:00:01 -0500 (EST) From: Mikhail Teterin <mi@aldan.algebra.com> To: des@ofug.org 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: <200203132200.g2DM013b088744@aldan.algebra.com> In-Reply-To: <xzpbsdsgqiw.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Mar, Dag-Erling Smorgrav wrote: > 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. So, was it neccessary for our DTD? > 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. Thanks for the detailed answer. -mi 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?200203132200.g2DM013b088744>