How to start the Web Standard road

Source: Internet
Author: User
Web|web Standard

The first time that Web standards were accepted was in the June of 2004, when some of the gurus were talking about a new thing. At that time what is called I do not know, anyway not called div+css, just feel very interesting, just go in and see. Found that the experts talk is not very clear, at that time their own HTML code are not fully aware of, will only use DW (Dreamweaver shorthand, the same below). Just look at the masters of some of the foreign works, feel very beautiful. However, because of their unfamiliar with the HTML also did not immediately enter the study. But to start to understand some of the advantages of web standards, and the most attractive to me is that HTML does not move, just need to update the CSS can make the site another look. I am a designer, the program is wonderful I can not understand, but the characteristics of this skin is deeply attracted me.

It's time to start studying in September. I used the local application method, which means that most of the page still uses the table, only in the local use of CSS to define the style, in this way I first understand some of the features of CSS. However, only a few CSS features are used. is limited to some applications in the text. For layout, a large area of layout is not involved at all. It is because of this local application that I have improved my confidence and helped me to be a solid base, because I started to practice reading HTML code.

Later I have not satisfied with this part of the application, so I hope the overall application, but at that time there is no relevant information to check, there are some master translation of the document is essentially theoretical level, does not have any role. But these questions are not big, because I am learning the Web page is from the page of the demolition of other people started, originally in the DW can be seen in the format, now in Notepad to split the code. I don't think there's much of a problem, where I would have to find a Web standard Web site that's done best in the world, and I've been looking at some translated Chinese materials from Dave Shea's Zen garden, where Dave is very highly admired Stopdesign's author Douglas Bowman I think Dave is so good at him, I think his website must be the best Web Standard site in the world at that time. In fact, when I look at his code, I find that he's really very bull. Until now there's a lot of code that I can't understand.

Example found, the following is demolished, want to download his website code is no problem, the key is how to analyze. At first I divided his code into two parts, one is HTML structure, the other is CSS style. Print them out separately. At first I looked at his HTML structure, his HTML structure is very rigorous, my current structure is basically based on stopdesign structure changes. Mainly to study how he divided, and then also studied his name, my present name and his name is not the same, I used some programmers use the naming standards. The ability to study HTML code will definitely make a big progress. This step is very important.

When the structure basically understand, then began to read his CSS code, the beginning is simply read CSS key is to see how the master is how to write code. And the relationships between different CSS files, as well as some CSS hack things. But pure look is useless, still need corresponding HTML to understand, otherwise can't completely understand the function of CSS. What about the corresponding HTML to understand it. My method is still a word "demolition". How to dismantle it, I first restore them to a normal style. Then in order to understand the meaning of a CSS, I will delete the CSS and see the effect. If the deletion is still not expected to change, then I will look again, what is going on. Sometimes you will change, set to see the effect. That is, in this kind of demolition Chaigai, the basic knowledge of the web standards of some of the skills.

The company is going to take a project, it is a government project. I remember it was November, and to get the project I started using the most attractive skin-changing features to lure my clients, who were deeply attracted to this feature, and I told them that building this way would save about 30% to 40% of the cost of the revision. Eventually we got the project and the development cycle was two months old. With the money, time is up. The next thing I want to do is how to achieve these for the customer, and I started my very bold move, I want to use web standards to develop this project, so I began the structure of the planning, CSS envisioned. According to the design draft, I constantly modify the original structure, and constantly modify the CSS, but also to deal with IE5 Browser, the work also appeared to solve the problem, and finally I have to modify the design manuscript. Make it easier to develop with web standards.

Through continuous efforts, my first Web site standard website has done so, although there is no way to pass the verification, but the characteristics of the skin is absolutely no problem, and can be suitable for ie5~ie6,firefox and other browsers.

The above is what I never knew to be, basic mastery of such technology process, although there are a lot of it is not not clear, but there is a point, learning standards need very perseverance, because you will encounter a lot of difficulties, sometimes you will feel not to learn, but to learn ways to solve problems to let you sink to more knowledge. Hope that the above text can make everyone have a harvest.



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.