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 <d...@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 > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <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-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org