Simple five-step learning of Web Page standards

Source: Internet
Author: User

I think every person who just came into contact with web standards will ask such a question. I will summarize it based on my own experience.

Step 1. Do not use DW or other tools to design webpages. Familiarize yourself with (X) HTML and CSS languages.

Because web standards have higher requirements for code, you cannot pass the verification without a certain understanding of the xhtml code. The DW tool can also be used, but you have to look at the code to write the webpage. The first is xhtml code, not many, know how they are used, how to write correctly, and remember to close tags. For example, <br/>. We recommend you read some html reference manuals. After all, xhtml is upgraded from html, and many tags are still in use.

Step 2. Establish a standardized statement (DOCTYPE) and head

The previous web pages and even large portal websites do not even have a declaration, just

Recommended statement

Webpage title

Step 3. Learn div and CSS for webpage Layout

Using <div> with CSS for Your webpage layout, instead of using table, there are many such articles and a lot of examples. We recommend that you go to bluediea.com, which has many advantages, I would like to raise a few practical: 1. code redundancy is small, and web pages are opened quickly. 2. The structure and performance are separated. You can change your layout only through css, but the information remains unchanged. This reduces the maintenance and upgrade costs.

Step 4. Learn the web standard theory, semantics, CSS, Structure and Performance separation ideas

In fact, the proposed web standards only aim to achieve tag semantics, separation of structure and performance, over-internationalization of website localization, backward compatibility, and device independence, make Your webpage accessible on the Internet. At this stage, you can use css to deploy your webpage and create a webpage that can pass W3C verification. You can understand what web standards and the web standard framework and functions are, thinking and advantages of separation of structure and performance, CSS deeper theory, xhtml tag semantics, affinity theory, cross-platform, making your webpage suitable for multiple browsers and devices.

Step 5. Use web standards to create webpages, establish your own standard web code specifications, and improve development efficiency

Web standards are still being promoted. There is no mature mode. After all, you need to write code. You can then propose some methods to improve your development efficiency based on your own experience, you can edit frequently-used code snippets, css names, and functional modules that can be reused into code clips to improve code reuse!

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.