<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><HEAD><TITLE>Br</TITLE></HEAD><BODY><br/></body></html>
compare with
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR
+/html4/strict.dtd">
<html><HEAD><TITLE>Br</TITLE></HEAD><BODY><br/></body></html>
| [reply] [d/l] [select] |
<html><HEAD><TITLE>Br</TITLE></HEAD><BODY><br/></body></html>
The sequence <FOO /> can be interpreted in at least two different ways
+, depending on the DOCTYPE
of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO
+ (with an implied '>').
However, since many browsers don't interpret it this way, even in the
+presence of an HTML 4.01
Strict DOCTYPE, it is best to avoid it completely in pure HTML documen
+ts and reserve its use solely
for those written in XHTML.
Ah, yes, I forgot that nettags are formally supported by the DTD. So, yes, <br/> is valid, but it's not a simple line break: it's a line break followed by a greater than sign. Not supported by most browsers though.
| [reply] [d/l] [select] |