W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2001

XHTML 1.0 Erratum: "empty tags"

From: Barth Szplitt <Barth.Szplitt@businessnet.de>
Date: Thu, 13 Sep 2001 11:50:20 +0200
Message-ID: <002101c13c39$8af06fa0$0a00a8c0@fx>
To: <www-html-editor@w3.org>
From: http://www.w3.org/TR/2000/REC-xhtml1-20000126#h-4.6

[...]
For instance, <br/> or <hr></hr>.
[...]

There should be:

[...]
For instance, <br /> or <hr></hr>.
[...]

and:

[...]
| CORRECT: terminated empty tags
|
| <br/><hr/>
[...]

There should be:

[...]
| CORRECT: terminated empty tags
|
| <br /><hr />
[...]



From: http://www.w3.org/TR/2000/REC-xhtml1-20000126#well-formed

[...]
The following example shows...
[...]
|   <apply> <log/>
[...]

There should be:

|   <apply> <log />



because of: http://www.w3.org/TR/2000/REC-xhtml1-20000126#guidelines

C.2 Empty Elements

Include a space before the trailing / and > of empty elements.



regards,
Barth Szplitt
Received on Thursday, 13 September 2001 05:52:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:29 UTC