Why abandon HTML

xiaoxiao2021-03-06  69

Author: Acha 2004-6-25 17:00:04

"Why do you want to abandon html?" If this question is stunned and long, I try to be simple:

HTML has developed three major shortcomings today:

1. It is too simple. It is not possible to adapt to the needs of the more network devices and applications now. For example, mobile phones, PDAs, and information appliances cannot directly display HTML. 2. It's too big. Because the HTML code is irregular, bloated, the browser needs enough intelligence and huge to display HTML correctly. Obviously it is impossible to load an IE6 in your PDA. The space is not enough, the operation can not keep up. 3. Data is mixed. This way your page wants to change, you must re-create HTML. Different HTMLs are required to display the same data for different network devices.

You may say that these shortcomings don't matter if you are now, not serious. But society is always progressing, technology is in development, and people always hope that work is getting simpler, and more and more efficient. The development of network equipment will not stop because of the shortcomings of HTML. Cumbersome desktop computers will be replaced by more and more equipment. Therefore, there is a need to have a new language that describes data to make all devices understand (this generates XML); there is a language to control the performance, so that the data is displayed correctly on different devices (this produces XSL ).

In other words, in the future, we will definitely use XML to convert data, using XSL to control performance. So what about now?

Now, it is obvious that the original HTML page needs to work properly, and it is impossible to abandon it. And now the browser does not directly represent the XML document. Even if you can, what should I do now?

The W3C has also set XHTML. XHTML is an overview of HTML to XML. It is a transition plan that guides people to gradually move to the regulation, to XML. Although XHTML has "X" but it does not expand, it is only strictly followed by XML specification based on HTML. It has been simple and there is almost no new knowledge.

And XSL, now you can use CSS to implement part of the XSL.

The above is "Why to Abandon HTML" solution. It is possible to say that it is not comprehensive, the main meaning is there.

转载请注明原文地址:https://www.9cbs.com/read-119893.html

New Post(0)