How can I detect HTML 5 Semantic tags support on mobile browsers?
Tags such as:
<section>
, <nav>
, <article>
, <aside>
, <hgroup>
, <header>
, <footer>
I am creating a mobile website with two versions similar to m.facebook.com and touch.facebook.com, where I want to redirect to supported mobile devices. The touch version will utilize HTML 5 tags.
For example, Android 1.6 does not have HTML5 support and is still in use. Therefore, I need to redirect all Android 1.6 devices to m.mobileversion.com rather than touch.mobileversion.com