how to make browser support html5?

Recommended Answers

All 3 Replies

The only browsers that do not support HTML 5 are older versions of Internet Explorer (generally, version 8 and lower). You can use the JavaScript HTML5 Shim to allow those browsers to accept the new semantic elements like <section> and <article>, so they will render the pages reasonably well. And you could write some JavaScript to add support for some of HTML5's new <input> types. But it's rarely worthwhile going to too much trouble in this area. You just have to design your pages with what's called 'progressive enhancement' principles. That means you don't make full HTML 5 support necessary to use your website. You just use the new features to make your pages better for users running with modern browsers.

Yes, sometimes you have to use "browser hacks" for older browsers

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.