[uf-discuss] HTML 4 strict only

Toby Inkster mail at tobyinkster.co.uk
Tue Mar 23 02:24:33 PST 2010

On Tue, 2010-03-23 at 10:51 +0100, Harald Effenberg wrote:
> Is </H1 valid HTML 2.0? ;-)

Yes, if it's followed by another tag. e.g.


That's valid in HTML 3 and 4 too. It's an SGML shortcut that browsers
never actually implemented, but in the particular place I've used it
their error-correction seems to compensate for it.

How about this...

	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><title//<p>

It is, I think the shortest possible valid HTML 4.0 document.

But this is getting seriously off-topic...

Toby A Inkster
<mailto:mail at tobyinkster.co.uk>

More information about the microformats-discuss mailing list