[Zope] METAL and DOCTYPE

Afonso Fernandez Nogueira fonso@aturuxo.net
Sun, 19 Jan 2003 17:06:54 +0100


> When I use validator.w3c.org on my page it complains that no DOCTYPE =
is set.
>=20
> But the PageTemplate (metal master) looks like this::
>=20
>   <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Because it lacks the DTD. Use the following:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">=20

Reference:
http://www.alistapart.com/stories/doctype/

HTH,
fonso