Web|web Standard Preparation work:
1. Choose! DOCTYPE Transition (Transitional):
A very loose DTD, which allows you to continue to use the HTML4.01 identity (but to conform to the XHTML notation). Although the consortium is not in favor of using tags such as <font>, there are a lot of web enthusiasts who like to use them, so the consortium has to put the font into the HTML 4.0 standard. So you can use these tags for the transition type.
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "
HTTP://WWW.W3.ORG/TR/XHTML1/DTD/XHTML1-TRANSITIONAL.DTD">
Strict (Strict):
Requires a strict DTD, you can not use any of the performance layer of the identity and attributes, the format is more rigid, the use is very strict, in the document you can not use, such as br,font,color and other fancy things, and can only use CSS to table these, but also that is to use the original HTML standard.
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 strict//en" "
HTTP://WWW.W3.ORG/TR/XHTML1/DTD/XHTML1-STRICT.DTD">
Frame of (Frameset):
A DTD specifically designed for frames page design, if your page contains frames, you need to use this DTD.
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 frameset//en" "
HTTP://WWW.W3.ORG/TR/XHTML1/DTD/XHTML1-FRAMESET.DTD">
2. Familiar with the use of CSS
Download style sheet chinese manual
Download style sheet filter Chinese manual
Download default behavior Chinese manual
Download the Document Object Model manual
3. Prepare the debugging environment Browser to debug Web Standard pages Mozilla Firefox
Safe, simple, compact, free, and support Web standards are features of this new browser. Firefox is a compact version of the Mozilla browser that is very fast and does not contain any additional components, such as e-mail, editors, and so on. Based on the Gecko engine, very small, only 4.72Mb, far less than IE, support for Chinese is also good. Won the maximum PC "2004 Software Award" First prize and many other awards, is regarded as an alternative to IE products. Its main features are listed below:
Block AD window pop-up;
Multiple pages browsing in one window
Google-embedded search box on the sidebar
Prevent malicious script and multilevel privacy settings
Downloaded files will be automatically stored on the desktop
You can directly set the page font size "S, M, L, XL, XXL, XXXL"
Simple installation, can import your original IE bookmarks and settings
Detailed JavaScript and CSS error messages for easy debugging
A large number of plug-ins to choose from, to achieve more powerful than the Myie function
Mozilla is the best debugging Browser for making Web standard pages, and it is based on Gecko, the most perfect browser to support Web standards. General Mozilla Test through the page, in other non-I-e browsers will not be too much of a mistake to browse.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.