Home >Web Front-end >HTML Tutorial >HTML5 it! Juvenile_html/css_WEB-ITnose

HTML5 it! Juvenile_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:39:321248browse

1. In order to enable IE browsers below IE9 to support html5 tags, you must first use conditional comments in the header of the document Method introduces that famous piece of code.

1

2

3

1

2

3

This code is actually not mysterious , and it is very short. It just takes advantage of a strange feature of IE. Interested students can download it and open it to have a look. 2. Change the document type declaration to . It seems that we are definitely more willing to do this, because the document type declaration of html5 is really simple and clear, which is very satisfying compared to the smelly and long declaration of html4. 3. Use a more concise document encoding statement such as to replace the previous form of

4. Use the