Web Design
Mobile Internet
Brand Design
Innovative
News
Encyclopedias

What kind of website meets the Web standard

Date:2015-07-30 Source: Shangpin China Type: website encyclopedia
Word Size: small   medium   big

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.


Please contact our consultant

+86 10-60259772

Please provide your contact number. The project manager of shangpin China will contact you as soon as possible.