[opencms-dev] Where to put a statement issueing the DOCTYPE?

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Fri Sep 29 12:22:39 CEST 2006


On Fri, Sep 29, 2006 at 11:17:06AM +0100, Jonathan Woods wrote:
> Don't forget you don't need to enclose the DOCTYPE declaration in <% %>
> tags... just like any content (e.g. <title>bla</title>) you can use it in
> the clear:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> 	<head>...</head>
> 	<body>...</body>
> </html>
> 
> Jon

Ah, that's nice. Wasn't aware of that.

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de




More information about the opencms-dev mailing list