Xhtml The simplicity and order available to everyone.
In the days of the “infancy” of the Internet, a lot of things were forgiven to him: the lack of high-quality paperwork, the lack of ergonomic interfaces, incorrectness for several reasons, the programming code of languages and much more. It was because the Internet itself was a kind of know-how, if you like, and was distributed on an “as is” basis. It was the era of Web 1.0, as it would be called later. Today, we are contemporaries of the Web, which, with the help of Tim O'Reilly, was named Web 2.0, which means reaching a new quality level, when professionals come to web development who do not draw with a mouse, care about the usability of their product, are responsible for the correctness of each line of code and for its security. The work of these professionals speak for themselves. These are people who understand and accept the entire burden of responsibility for how the Web will become after them. Today, the Web language is perhaps the most popular markup language for documents - HTML. This is exactly the machine language that allows information to be conveyed to the user via a browser, but is it the only one accessible to the web developer? HTML is a descendant of the markup language purely theoretical, academic, if you like, SGML. At one time, it was he who was chosen as the basis for a new hypertext document language for the Internet. In its first revision, HTML clearly followed the SGML philosophy, i.e. purely logical data formatting. Out of a little over 40 tags in version 1.2, it included only 3, which could be considered as stylistic. It should be noted that this was fully justified even from a purely practical point of view, since At that time, text browsers dominated, and NCSA Mosaic became the first and only graphic browser. However, after the sale of Mosaic to Microsoft, new products supporting graphic content from both the Redmond giant and third-party manufacturers entered the market. And the natural desire for the developer was the use of graphic elements for the design of your document. However, at first, the absence of any language of stylistic design, and then, with the advent of it (CSS), its weak support, gave rise to many design tags in the HTML itself. And as the efforts of w3c itself, the organization that develops recommendations and standards on the Internet, and browser developers. The last approved and published version of HTML was HTML 4.01 of 12/24/1999, which in its version of Strict took the first step to order in the code, canceling many stylistic tags and their attributes, suggesting instead to use the corresponding features of the CSS specially created for this language. At the time of publication of the latest HTML specification, the powerful, actual unlimited XML language was already firmly on its feet. Looking to a bright and perfect future, w3c decided that it was XML that would become a cross-platform data exchange standard, which would open up the possibility of sharing with other XML languages and would allow putting HTML itself in order, eliminating its obsolete elements and expanding functionality. The first step to this was the creation of an intermediate language - XHTML. So, on May 12, 1998, in parallel with the work on improving HTML, the first edition of XHTML was published. What is it like? XHTML is a hypertext markup language for documents that is a subset of XML and conforms to the SGML specification, i.e. in fact, this is HTML, reformulated in XML syntax. The language was spared from the design tools still remaining in HTML. In fact, everything returned to normal. The purpose of the XHTML markup language was to describe the structure of the documents, and CSS was given the role to fully take on the appearance of the hypertext documents. Today, XHTML can be spoken of as becoming a hypertext markup language family. XHTML is a step towards the evolution of the Internet and the transition to pure XML, while maintaining the backward compatibility of documents for legacy types of user agents. The current published version is XHTML 1.1 dated February 16, 2007. XHTML is the successor to HTML and has a number of natural advantages over it. So why is it worth it to practice?
XHTML is the current hypertext markup standard that replaces HTML and is recommended for general use.
XHTML is more consistent and rigorous than HTML, its use reduces the likelihood of errors in the code, thus increasing the overall quality of the hypertext document and the level of web development in general.
XHTML, due to strict syntax, is parsed by the user agent parser easier and faster, unlike HTML, which allows its processing on devices with small computing resources.
XHTML is a subset of the XML language, which allows us to significantly expand the possibilities of working with documents through the use of technologies such as XSLT, SVG, MathML, RSS, VoiceXML, Web3D, RDF / XML, XMP, XUL, SOAP, Ajax and Jabber / XMPP) . In the future, it will allow the use of all new, perhaps, as yet un-acquired or unapproved XML-technologies.
XHTML allows you to properly and fully use applications (such as scripts and applets) related to the Document Object Model.
XHTML opens the way to the world of metadata, which can be argued with a high degree of probability that in future will allow search engines to more correctly and accurately process data in XHTML documents (read the site pages). Now it has become a reality in the form of microformats.