> On Tue, Feb 19, 2002 at 05:11:45PM +0200, Tuomas Lukinmaa wrote:
> <blablabla> 
> > Also diagnostic pages lack certain mandatory tags, like DOCTYPE
> > definition (doctypes are missing from nodepages too), <HTML>
> > and <BODY>, have missing tags or wrongly nested tags.
> 
> I fixed most of these I think, except the DOCTYPE thing which must be
> one of those annoying newfangled things that postdate my html knowledge
> (circa 93 or so).

In HTML 4.01, there is supposed to be a DOCTYPE definition at the top of each 
document 
(before the <html>).  It looks like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd";>

This defines a strict HTML syntax, which lets you use all HTML 4.01 elements 
and 
attributes, except those that have been deprecated.  You can use the deprecated 
elements via s/strict.dtd/loose.dtd/.

Naturally, things typically work just fine if you leave it out.

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to