tags:

views:

59

answers:

2

How to check browser support html5?

+1  A: 

This isn't asp.net related but more an HTML/Javascript question.

Check out this article, it talks about detecting HTML5 features.

Marko
Why? I need to check html5 support by REQUEST on SERVER.
Alex Maslakov
+1  A: 

You could do this by matching Request.Browser.Type against a list of browsers that support html5.

user468524
As a general rule you should never check for a specific browser and instead always check for the feature you want to use.
Chris Simpson
I know that, but there's no way of testing html5 support server-side, and because every html5 browser is fully backwards compatible, it doesn't matter if an unknown html5 browser is served html4/xhtml.
user468524