MENU service case
 Website construction website design Beijing website construction high-end website production company Shangpin China
We create by embracing change
360 ° brand value__
simplified Chinese character
Simplified Chinese English

Shangpin China Joins Hands with Beisheng Internet to Create a New Chapter in Website Construction

Type: Shangpin Dynamic Learn more

What kind of website meets the Web standard

Source: Shangpin China | Type: website encyclopedia | Time: July 30, 2014
A website that conforms to Web standards, first of all, its web pages can pass the W3C code verification.

W3C provides a program that can help users verify the syntax of all aspects of their website scripts. The address is //www.w3.org/QA/Tools/#validators. At present, this program provides T HTML, XHTML,
Check tools for CSS, RDF, P3P, XML and other markup languages. If you use these languages to build your website and applications, you can use relevant tools to check the syntax. Verification is the first step in learning Web standards. If your design conforms to Web standards Website construction If you can pass the W3C verification, it will prove that your web page is no problem in the use of the syntax of the Web standard.

It is worthless to design web pages only to pass W3C verification. Another meaning of conforming to Web standards is to use various technologies in Web standards to completely separate website performance from content, fundamentally change the existing website structure, and bring innovative changes to the website. We believe that, The W3C verification is the basis for learning and testing the technical syntax in Web standards. If you really need to comply with Web standards, you must continue to learn and improve the experience in website architecture design to achieve the separation of website performance and content.

Is the form still useful after using the Web standard?
There are many discussions about table and div on the Internet. Many beginners of Web standards initially have doubts about the transition from table layout to div layout. Here we will discuss the table and some related issues.

1. Close the form
The use of Web standards does not mean excluding the use of tables. Tables are not chicken ribs, but on the contrary, they are a feast. The reason why the phrase "Why is it unwise to use table layout" is often mentioned in many tutorials on the layout of CSS may be that the current understanding of tables is wrong. The "use of tables for typesetting" here means that we have used the bh experience for several years, that is, the use of tables for "typesetting" is unknown. The root cutting of tables is a way to display data. You can compare [excel spreadsheet, the role of tables is to achieve this effect, right? of course. Sometimes, tables can be used to display data information more clearly and easily, such as the company's employee list, product list, etc.
The so-called table feast refers to the convenience of table use. That is to say, if Ranran can flexibly use various cells of the table to combine and reasonably display customer data, survey data and other information, then the real advantages of the table can be fully reflected.
As for the above sentence, it should be revised to "It is unreasonable to use tables as page layout, layout page elements, and tables are used to display data". The function of tables does not lie in the layout of web pages. It is better to leave this task to CSS.

2. About other elements
According to my experience, some elements in the XHTML standard are divided into only large categories.
The first type can be called auxiliary layout design elements.
It refers to div, span and other elements. Their main function is to layout the entire page. Flexible use of various attributes of these elements can make your page colorful.
The second type can be called structural element or information element.
It refers to table, ul, pre, code and other elements, which are elements of information display and control. For example, table is obviously used to display data information of table status, and ul is used to display serialized information. When tables or lists are needed, it is wise to use these two elements.
The third type is a and meta components, which can be used to implement some special functions, such as the meta keyword of the keyword on Qi, and the a
So, what is the correct idea of tag application that conforms to Web standards?
Use layout elements such as div to make the design layout, positioning, color blocks, pictures, etc. of the page. Use table, ul and other elements to display the data and information to be displayed in the page.
Of course, divs also have the function of organizing information. Using the id attribute of divs can easily use a div as a self named information block. Using Web standards to create websites is actually a process of information rationalization and integration. What elements should be used wherever is still correct. Don't use tables as layout tools. Its responsibility is not here.
Source Statement: This article is original or edited by Shangpin China's editors. If it needs to be reproduced, please indicate that it is from Shangpin China. The above contents (including pictures and words) are from the Internet. If there is any infringement, please contact us in time (010-60259772).
TAG label:

What if your website can increase the number of conversions and improve customer satisfaction?

Make an appointment with a professional consultant to communicate!

* Shangpin professional consultant will contact you as soon as possible

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]

Communicate with professional consultants now!

  • National Service Hotline

    400-700-4979

  • Beijing Service Hotline

    010-60259772

Please be assured to fill in the information protection
Online consultation

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]