Some problems should be paid attention to through the Web site standards

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

What is the standard of the consortium? What does the standard of the consortium mean?

At present, the standard of the World Wide Web has become the first choice for high-end customer design sites, we know that the domestic Internet users, with IE browser more, but from the domestic or global Internet customers look, some customers are not using IE to browse the content of Internet, they will use some other browsing tools such as: Netscape, Mozilla, Firefox,opera and so on, if your site is not the standard of the Internet, you will not be able to see your site without using other browsers. Namely: This standard is the international common standard, the website that conforms to this standard, can use any browser to browse your website.

First of all, how do we authenticate the two URLs:

The http://validator.w3.org/HTML Verification tool:

The http://jigsaw.w3.org/css-validator/CSS Verification tool:

Know first above two URLs, we first look at the Web site HTML verification, open the above URL, enter your URL after the confirmation, he will prompt you the URL of n error. See too many mistakes. Don't worry about one.

Let's take a look at how to get the statistics code to conform to the standards of the CNZZ, for example, CNZZ the default code is this: <script src= "http://s76.cnzz.com/stat.php?id=1384518&web_id= 1384518 "language=" JavaScript "charset=" gb2312 "></script>

The & in the consortium should be changed to &amp; to meet the requirements. People don't talk much. Take a look at the following standards for the consortium:

1, all letters to lowercase, to specify the type, note the use of double quotes

2, all & to replace all the &

3, the picture img tag must have alt parameter

4, line-changing must use <BR/>

5, see if there is more or less label.

6. Quotation marks must be added.

This concludes the HTML validation tutorial for the consortium.

The WWW CSS verification is a bit difficult, for not too familiar with the CSS or a little hard, and the same as the above open the verification site to enter your Web site, this step you can point to more options. Select the version you want. General CSS 3 easier. Here's what it says about CSS 2.1.

White-space:nowrap;overflow:hidden;text-overflow:ellipsis;

Word-wrap:break-word;

Like the above two pieces of code is not pass CSS2.1. This should be managed to remove.

There is CSS inside font-family: "Song Body"; XXFarEastFont-Arial Two words must be quoted. And so on like this. Let's change it slowly. It must be over.

The above HTML and CSS have the common denominator of the same:

1, to ensure that all the tags are used in lowercase letters

2. Make sure all the attribute values are in quotes

3, to ensure that all pairs of labels appear in the order, the label is/> End, "/" and ">" between the space.

This article by the www.oogps.com webmaster feeds! in ADMIN5! Reprint please specify. Thank you!

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.