[opencms-dev] Where to put a statement issueing the DOCTYPE?
Christoph P. Kukulies
kuku at physik.rwth-aachen.de
Fri Sep 29 11:06:09 CEST 2006
On Fri, Sep 29, 2006 at 09:35:36AM +0100, Jonathan Woods wrote:
> Yes, it's the first line - with no content preceding it - which is output to
> the browser.
>
> As for the text to use, best to do some research because there are
> implications for target browsers, layout bugs etc. A good place to start is
> http://www.alistapart.com/stories/doctype/ but a Google search for 'doctype
> quirks' (without quotes) will get you other useful stuff.
OK, fine, but isn't there a JSP tag for outputting the DOCTYPE statement?
Or would I use inline code?
>
> Examining the pages of my site I see that they all are missing a starting
> <!DOCTYPE statement.
>
> I assume it would be a good idea to put it into the main template but what
> would be the appropriate statement?
>
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
More information about the opencms-dev
mailing list