Learn Web standards please forget DIV+CSS first

Source: Internet
Author: User
Css|web|web Standard

Why do you want to forget about DIV+CSS? I'm sure everyone knows HTML, right? We should be very clear what Div, he and CSS is not a thing at all, not a level!

The country is now very popular with Div+css to represent XHTML, to represent XHTML+CSS. This is fundamentally misleading. Do we just use div when we're writing web code? What about table? What about the UL? What about P? H1, is H2 all right?

That's definitely not true! Xhtml+css first of all is to give up the table to the page layout, but instead of using CSS. The place to use the table is still to be used. Web standards are not simply a simple way to replace all of the table with Div.

Please note that if you are accustomed to calling Xhtml+css the DIV+CSS, please hurry up and recall. Are you almost entirely using div when writing web code? is not with Div set div it? Do you still habitually use div when you don't have to use a div at all?

If so, it is a pity that you have been misled by this name. Please quickly correct your habit of writing code. Revisit the habit of writing your code again, and understand and learn about Web standards again. You are already familiar with CSS and you believe you will soon be able to correct your mistakes.

PS site also has a lot of div+css to address the xhtml+css, because I am not the author, so I do not have the right to change the name of the article, so can only be used.

Reproduced at will, indicating the source can be.



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.