1. Elements and attributes all lowercase
2. Attribute values are enclosed in quotation marks as far as possible
3. All pairs of labels must be closed
4. Empty elements do not need to end
5. The
6. No need to write all properties with attribute names equal to property values
7. It is recommended to introduce a reset style sheet in each HTML file normalize.css
8. Add cross-browser support for HTML5 semantic elements http://html5shiv.googlecode.com/svn/trunk/html5.js
9. Add support for CSS3 modifiers to older IE http://css3pie.com/
1 <!DOCTYPE HTML>2 <HTMLLang= "zh">3 <Head>4 <MetaCharSet= "Utf-8">5 <Linkrel= "stylesheet"href= "Css/normalize.css">6 <!--[If Lt IE 9]7 <scriptsrc= "Http://html5shiv.googlecode.com/svn/trunk/html5.js" ></script>8 <! [EndIf] -9 </Head>Ten <Body> One <span>Name:</span><inputtype= "text"Required> A </Body> - </HTML>