<! -- Body content -->1.2.1 starting from HTML Most Web page makers may still have a liking for HTML. I heard that a new language is required to replace it, And I instinctively want to defend two sentences for old friends first. What about html? Isn't it good? Good. Speaking of the booming Internet in today's world, HTML has indeed made great strides. However, the characteristics of HTML have hidden many crises. As it continues to develop, these crises have not only not weakened, but have become more and more prominent, and have even become an obstacle for the continued development and application of HTML. Even the long-standing reputation of HTML over the past few years cannot conceal its ever-increasing profound crisis. At the beginning, HTML was designed to mark them based on the meaning of the information, without specifying how they should be displayed in the browser. Recall that in earlier versions of HTML, <title> indicates the title, Unfortunately, browser developers do not know much about the preferences of these special users. Instead, they introduce some defined labels and attributes and use these new labels to specifically describe the display format, such as labels <font>, <center>, and <bgcolor>. Browser vendors have also developed their own web page creation software, such as Netscape composer developed by Netscape and FrontPage developed by Microsoft. These WYSIWYG web page creation tools automatically generate HTML files, which ignore the semantic information of tags and use them almost completely as the format expression tools. For example, the current table labels, such as <Table>, <tr>, and <TD>, can not only represent the information of different rows and columns in the table, it may also be used for webpage layout. As a result, HTML is more and more focused on information representation, and the meaning of the weak Information Description in the tag is also weakened. Finally, HTML has finally evolved into a page display language specifically for Netscape and Microsoft IE browsers. Maybe you think that some of the requirements of some special users are not met, but after all, the most basic problem for most people to browse the page-display problem is solved. In addition, with these dedicated display labels, this problem is well solved! Actually not. Browser manufacturers in the fierce market competition, in order to display their own uniqueness, ie and Netscape have added some special tags to HTML, in order to add some special display effects to your browser. The increasing number of tags not only makes HTML more and more complex, but also reduces the compatibility between different browsers. For example, if your webpage is made for the ie5 browser and 800*600 screen resolution, the effect of viewing on the 640*480 screen will be greatly reduced, in the Netscape browser, the display effect is even different from the original design concept. In addition, despite the increasing number of HTML tags, the display power is far from enough. If you want to accurately present your own data, you may need tags that do not yet exist in HTML. For example, if you are a chemist, you may need to represent some special symbols in the chemical molecular formula. For example, you are an airplane designer and want to be able to express the engine of an airplane. However, HTML is beyond reach. To meet the different display requirements of various industries, a large number of tags are needed, which undoubtedly makes the increasingly bloated HTML worse. There are more and more problems. Now, the internal structure of HTML is getting worse and worse. The HTML file you write, or even the HTML file automatically generated by the dedicated WYSIWYG tool, may be a hundred errors in syntax, but it doesn't matter, the browser can still read it. Files in HTML can be non-nested, for example, In addition, there are more people who are helpless to HTML, that is, search engine developers. From the HTML Tag itself, they hardly get any useful information. If you want to go online and find out the prices of all the XML books in the world, the search engine will be too busy. It needs to identify which "XML" fields on the network correspond to the name of the book, and know the price corresponding to these titles. Maybe you will say, isn't it done on the webpage of our library? This is where the library searches based on internal databases, and each field in the database has a clear meaning. However, search engines search based on HTML files on the Internet. The contents of databases with clear and hierarchical structures have long been messy by various tags in HTML files, the search engine has to find a needle in these chaotic contents! These many drawbacks of HTML have brought it into a situation of "no doubt. Then, how does XML bring about "a different Village? With the rapid development of the Internet in today's world, HTML has indeed made great achievements, and we cannot erase its credit. Next, let's look ...... |