HTML5 architecture, (HTML5 Boilerplates)
Quick creation of html5 documentshtml5 documentation is very easy to create, you just need to change the DOCTYPE declaration at the head of the document.
In this way, you have already created an HTML5 document. Let's see how Google's homepage is done
Copy content to clipboardHowever, Google's verification and search results pages are not used, because there are still many invalid tags on those pages, such as <font>, etc., but it doesn't matter, you can still use some correct tags such as <script> to parse under the current HTML5 DOCTYPE.
HTML5 simple examplesA complete html5 page does not require many complicated tags
Copy content to clipboardThis is a simple and complete example.
(Interestingly, when I deleted the <title> tag. Hixie's DOM viewer parsing is through the W3C validator. But the Henri Sivonen's validator says this is invalid without the tag.)
HTML5 integrity and compatibilityBest, here is a complete HTML5 example, with styles and new tags added. In order to solve the problem that some IE kernel browsers cannot view, here is a JS script that solves this problem.