Div is the only way to standardize the development of web

Source: Internet
Author: User

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

        a few days ago to see a "div please don't be fooled Again", the first see the title feeling uncomfortable, as if to say that the bad CSS, but the point of reading is not, Said CSS is very good very strong. Just say div is abused.         as a Cssbbs webmaster I think I have to write something, when it is to write a soft text to promote their own station or, to express their attachment to the CSS, Or it can get you to learn something.          recalls the development of the web for several years, from table to Div. This is certainly not a good road to development, after all, there is a turning point.                  from Cssbbs's membership survey, CSS beginners mostly accounted for about 85%, so the development of web standards in China is just beginning, development needs a process. It's the transition from table to Div and then div to Web Standard. We must go out of this step!         borrow a saying, "How can you run without learning to walk?" "Two years ago, the major portals have been reconstructed, then div began to prevail, from the portal site to the personal site this is another transition." People are starting to talk about Web standards, and CSS is becoming more and more important.          and the momentum of today's development is also very rapid, as long as the site is a bit of the reputation of the basic reconstruction of the website, and from the most basic application blog can be seen, CSS really work. CSS can be said to be the basis of web standards and the future.         Baidu Space, campus and other personal space, CMS, blog, bbs ... These existing and mature free programs have been widely used, what's left? program does not need us to develop, the rest is to change the template, do a different style.         simply say CSS is the style definition of HTML tags! In a Web pageCSS must be used in conjunction with HTML.         next talk about Div. A DIV is a label contained in HTML. We're called layers. If you use DW Editor to do Web pages, you can draw layers, but before we are just painting, perhaps using the cascade and the top and positioning.          But in web standards, div is most commonly used in multiple-column layouts. In fact, HTML tags have their own functions and semantics. But not so much in the early stages. As long as it is out of the table is standard. So I call it "primary standardization"! The next stage of         is the semantic word tag application.         HTML provides each label is not out of thin air, h1/h2/h3 ... Is the meaning of the title. We can use in the article title, column title and so on.         ul Li is the meaning of the list, can be applied to the menu navigation bar, article directory list, product catalog.         P is a paragraph where you can place text.         ............        The benefit of semantic layout is to see the code clearer, Search engines also like, because no longer guessing that Div is the title that Div is content. H* is the title, the outline of a Web page. This is also the primary and secondary.        another situation is that you no longer need to name the Div.        title        <div class= "title" > title </div > Less than <h1> title </h1> more streamlined and image        my own thoughts are in the early stages of how you do, let it be, do notDeliberate pursuit of standardization, do not write a CSS to check the effect. As long as it looks beautiful tube him, a few lines more lines of code can not reduce the amount of traffic. Anyway is my space is unlimited flow. :-) Then you will know how to do it with the strength of the site. What we need to do is to keep on progressing and correcting, not to get it done at once, OK.         Learning CSS is a long process, from which you will slowly find CSS so wonderful and magical! As long as you continue to sum up and learn, you are the most bull. Then send us my motto: Learning, go backwards!         finally wish you a new year to learn progress, the ox more cattle!

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.