empty element syntax

<juanrgonzaleza@canonicalscience.com> writes:

> . . .
>  * The "/>" empty tag syntax actually has totally different meaning in
>    HTML4. (It's the SHORTTAG minimisation feature known as NET, if I
>    recall the name correctly.) Specifically, the XHTML
> . . .

Yes.

"<br/" is equivalent to "<br>".

IMO this is a bug in the HTML 4 specification.

> . . .

> ... is XML, by forcing <br> syntax instead <br/> or <br /> one
> obtains ...

For XML one may use either "<br></br>" or "<br/>", but "<br>" alone
violates the "well-formed" requirement (XML spec).

                                    -- Bill

Received on Wednesday, 8 November 2006 16:33:04 UTC