You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Martijn Dashorst <ma...@gmail.com> on 2011/07/30 17:12:01 UTC

Re: wicket 1.5 xml/doctype/html header: xhtml vs html5

You can use xhtml5 together with wicket if you like strict markup, or
just plain html5. There are some (afaik undefined) rules about closing
<p> and <div> tags, but other than that, (x)html5 should work.

Martijn

On Wed, Jul 27, 2011 at 7:04 AM, Donohoe Digital <do...@donohoe.info> wrote:
> From https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html, are these still
> the desired tags for the start of a wicket html file?
>
> <?xml version="1.0" encoding="UTF-8"?>
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd"
> xml:lang="en" lang="en">
>
> and
>
> &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
> &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
> <html xmlns="http://www.w3.org/1999/xhtml"
>
> xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"
>      xml:lang="en"
>      lang="en">
>
> Of these two options, which is preferred?  Why would I choose the xml start
> (versus DOCTYPE)?
>
> Does either choice impact the use of HTML 5?
>
> Thanks,
>
> -Doug
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-1-5-xml-doctype-html-header-xhtml-vs-html5-tp3698608p3698608.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

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