You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jan Vissers <Ja...@cumquat.nl> on 2008/04/10 19:07:38 UTC

T5: How to add DOCTYPE decl and additional attributes to html element?

Hi,

Using T5.0.11 and each generated HTML should contain:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">

How can I achieve this?

Thank you,
-J.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: How to add DOCTYPE decl and additional attributes to html element?

Posted by Robert Zeigler <ro...@scazdl.org>.
Doctype support has been in T5 support for some time now.
The simplest thing to do for for situation seems to be to put the  
DOCTYPE and html w/ attributes into a "Layout" component that you then  
include on your pages.
Or am I missing something?

Robert

On Apr 10, 2008, at 4/1012:07 PM , Jan Vissers wrote:
> Hi,
>
> Using T5.0.11 and each generated HTML should contain:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
>
> How can I achieve this?
>
> Thank you,
> -J.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org