I would like to use input type="number" in an XHTML1.1 application.
W3c Input types page says "Input types, not supported by old web browsers, will behave as input type text."
But can I use HTML5 input types in an XHTML 1.1 application?
I would like to use input type="number" in an XHTML1.1 application.
W3c Input types page says "Input types, not supported by old web browsers, will behave as input type text."
But can I use HTML5 input types in an XHTML 1.1 application?
No, the XHTML 1.1 specification does not allow it.
Yes, browsers don't much care what Doctype you slap on your tag soup documents.
Why not move to HTML 5? You can use the XML serialisation of HTML 5 if you're determined to have XML. It better reflects what browsers actually do with markup than the technological cul-de-sac of XHTML 1.1.
é but you have to make do with the numerical reference é, or even é.