How to Remove Unwanted Formatting from Your Website
How to Set Up a Test Directory for Your Website
How to Validate Your Code Markup in Dreamweaver

Use Chrome Frame to Render HTML5 in Internet Explorer

Sad but true: The browser with the largest market share — Internet Explorer (IE) — has the least support for HTML5 standards. So how do you let all those people using IE view your HTML5 web pages?

The answer lies with Google Chrome Frame. Chrome Frame is a special tool that embeds the Chrome rendering engine inside IE. To use it, put the following code in your page:

<!DOCTYPE html>
<html lang="en">
<head>
    <title>ChromeFrame.html</title>
    <meta charset="UTF-8">
  <script type="text/javascript" 
          src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
</head>
<body onload = "CFInstall.check()">
</body>
</html>

Write the rest of your code assuming the user has Chrome (which has excellent support for HTML5). This is the best way to use HTML5 in IE until Microsoft decides to add meaningful support to HTML5.

blog comments powered by Disqus
Troubleshooting JavaScript
How to Fix Noncompliant Code on Your Web Page
Web Browser Support for HTML5
How to Set Up an HTML5 Web Page for Offline Cache
How to Verify Links on Your Webpage
Advertisement

Inside Dummies.com