I want to use input types or other features from HTML5. But not all browsers support these HTML5 features.
How can I check if a user's browser is html5 compatible with PHP code only?.
By the way, I don't like modernizr. I have to figure out with PHP.
Example:
Html5 compatible browser:
<input type="date" value="" />
Html5 incompatible browser:
<input id="datepicker" type="text" value="" />