Re: Do I have to include the <html> tag in a gsp file if I include it in a template?

10 views
Skip to first unread message

Jeff Scott Brown

unread,
Dec 1, 2014, 5:26:49 PM12/1/14
to grails-de...@googlegroups.com

> On Dec 1, 2014, at 1:35 PM, Mike Hamer <mikel...@gmail.com> wrote:
>
>
>
> Also, can someone explain why the default main.gsp template has a opening html tag as <!DOCTYPE html>? why is this valid? Shouldn't it simply be <html>?


No. Those are 2 different things.

Some references…

http://en.wikipedia.org/wiki/Document_type_declaration
http://www.w3schools.com/tags/tag_doctype.asp

Google for “What is is a doctype declaration”. (lmgtfy.com appears to be down at the moment or I could do it for you… ;)




JSB
--
Jeff Scott Brown
jbr...@gopivotal.com

Autism Strikes 1 in 166
Find The Cause ~ Find The Cure
http://www.autismspeaks.org/



Reply all
Reply to author
Forward
0 new messages