Home > Web Front-end > HTML Tutorial > Website web standards testing

Website web standards testing

黄舟
Release: 2016-12-16 14:18:49
Original
1352 people have browsed it

Preparation work:
1. Select !DOCTYPE
Transitional:
A DTD with very loose requirements, which allows you to continue to use the HTML4.01 logo (but must comply with the writing method of xhtml). Although the W3C does not support the use of tags such as , many web page enthusiasts still like to use them, so the W3C has to add font to the HTML 4.0 standard. Therefore, you can still use these tags using transitional styles.


Strict (Strict):
A DTD with strict requirements. You cannot use any presentation layer identifiers and attributes. The format is relatively rigid and the use is very strict. You cannot use fancy things such as br, font, color, etc. in the document, and These can only be expressed using CSS, which means that only the original HTML standard can be used.


Framework (Frameset):
A DTD specifically designed for frame page design. If your page contains a frame, you need to use this DTD.


2 . Familiar with the use of CSS

Download the Chinese manual of style sheets

Download the Chinese manual of style sheet filters

Download the Chinese manual of default behavior

Download the Document Object Model manual

3. Prepare the debugging environment
Debug the browser of the web standard page Mozilla Firefox

Safe, simple, compact, free, and supports web standards are the characteristics of this new browser. Firefox is a streamlined version of the Mozilla browser that is extremely fast and does not include additional components such as email and editors. Based on the Gecko engine, it is very small, only 4.72Mb, much smaller than IE, and has good Chinese support. It won many awards including first place in MAXIMUM PC's "2004 Software Awards" and is regarded as an alternative to IE. Its main features are listed as follows:

Prevent advertising windows from popping up;

Browse multiple pages in one window

Embedded Google search box on the toolbar

Prevent malicious scripts and multi-level 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"

Easy to install, can import your original IE bookmarks and settings

Has detailed javascript and CSS errors Information, easy to debug

A large number of plug-ins to choose from, achieving functions more powerful than myie


Mozilla is the best debugging browser for making web standard pages. It is based on Gecko and is the most perfect browser that supports web standards. Generally, pages that pass the Mozilla test will not cause any major errors when viewed in other non-IE browsers.

The above is the content of the website web standard test. For more related articles, please pay attention to the PHP Chinese website (m.sbmmt.com)!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template