When one wants to refer to some part of a webpage with the \"http://example.com/#foo
\" method, should one use
F
You shouldn’t use
in any flavor of HTML served as Foo Title
text/html
, because the XML empty element syntax isn’t supported in text/html
. However,
is OK in HTML4. It is not valid in HTML5 as currently drafted.Foo Title
is OK in both HTML4 and HTML5. This won’t work in Netscape 4, but you’ll probably use a dozen other features that don’t work in Netscape 4.Foo Title