I think everyone who has just contacted the Web standards will ask such questions, and I will summarize them according to my own experience.
Step 1. Do not use the tools such as DW design Web pages, to familiarize yourself with (X) HTML and CSS languages
Because the requirements of the Web standards for the code increased, there is no knowledge of XHTML code is not able to pass the school test. DW tools can also be used, but look at the code to write the page.
First is the XHTML code, not a lot, know how they use, how to write correctly, and remember to close tag. such as <br/>. It is recommended to look at some HTML reference manuals, after all, XHTML is upgraded from HTML, and many tags continue to be used.
Step 2. Establish a standardized statement (DOCTYPE) and head
Previous web pages, and even large portals, have not even a statement, just
Recommended wording
<!--(1) Transition type (transitional)-->
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<!--(2) strict type (Strict)-->
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 strict//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
<!--(3) frame type (Frameset)-->
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 frameset//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd" >
<!--set a name space (Namespace) lang= "ZH-CN"/-->
<!--declare your coding language:gb2312/utf-8/unicode/iso-8859-1-->
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
<meta http-equiv= "Content-language" content= "ZH-CN"/>
<!--content--> for search engines
<!--allows search of all links within the robot search station. If you want some pages not to be searched, recommend using the Robots.txt method-->
<meta content= "All" name= "robots"/>
<!--set up site author information-->
<meta name= "Author" content= "Mailbox, name"/>
<!--set up site copyright information-->
<meta name= "Copyrights" content= "Copyright description of the website"/>
Brief introduction to <!--site (recommended)-->
<meta name= "description" content= "new Web Designer." Web Standard tutorial site, promoting the application of Web standards in China "/>
Keywords <!--site (recommended)-->
<meta content= "Designing, with, web, standards, XHTML, CSS, graphic, design, layout, usability, ccessibility, the consortium, W3, W3CN, Ajie "name=" keywords "/>
<!--favorites Small icon-->
<link rel= "icon" href= "/favicon.ico" type= "Image/x-icon"/>
<link rel= "shortcut icon" href= "/favicon.ico" type= "Image/x-icon"/>
<title> Page Title </title>
<!--connection style sheet-->
<link rel= "stylesheet" rev= "stylesheet" href= "Css/style.css" type= "Text/css" media= "All"/>
<style type= "Text/css" media= "All" >
@import URL (css/style01.css);
</style>
<!--rss-->
<link rel= "Alternate" type= "Application/rss+xml" title= "Greengnn ' s Space" href= "http://www.*.com/feed.asp"/>
<!--js-->
<script src= "Js/common.js" type= "Text/javascript" language= "JavaScript" "></script>
<body>
</body>