What is the future development direction of web pages? What will happen to the HTML standard? What is XHTML? Will CSS still be used? And so on ..
Just give up the table layout!
I remember that when I first started learning web pages four years ago, I spent a lot of time on typographical layout. Later I learned how to use table layout, and the layout problem was solved smoothly. However, it would not be a wise choice to use a table for formatting. Remember that the title of a post discussing the dangers of table formatting is as follows: are you still using tables for formatting ?? It involves several major dangers of table layout: 1.CodeLengthy, increasing the page download time. I personally tried this. For webpages with the left and right column structure, table layout is more than twice as large as those without table layout! Second, the content structure is chaotic. The complete content is broken down by tables, and reading is very poor, which is not conducive to search engine analysis. Third, it is difficult to modify the layout. It is almost necessary to modify all the code.
In my opinion, the harm of table layout is indeed not small. In the future, table layout is a trend. However, if no table is used, another problem occurs. what technology is used for layout? Using CSS can achieve many la S, but it cannot completely reach the table layout level. This is a point we must consider when abandoning the table layout. A detailed analysis of the complex table la s makes it easy to simplify. After all, the webpage mainly transmits information instead of showing off the artistic skills. This blog is an example of dropping the layout of a table. The layout is modified by modifying the CSS definition.
Recommended websites:Http://www.w3cn.org
Future development of HTML
Currently, XML has been widely recognized by the industry. Many technologies link future development with XML, and HTML is no exception. XHTML has been launched for some time, but many may not understand it. XHTML standsScalable html, Basically all tags in HTML are used, but the tags that do not comply with the XML syntax specifications are adjusted, for example, <br> adjusted to <br/>. In addition, XHTML also provides XML scalability. You can customize your own labels or add other XML labels, such as MathML (Mathematical Markup Language ).
From the perspective of Web Page makers, the difference between using XHTML and HTML is that the syntax is stricter. When using HTML previously, if the tag is incorrect or is not closed, it may still be displayed, when XHTML is used, the syntax is strictly checked (that is, the syntax is checked according to the XML standard), and any errors cannot be displayed normally.
XHTML standard setting organization:Http://www.xhtml.org/