XHTML 1.0 Erratum: "empty tags"

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