+ 3

What are the advantages of using XHTML instead of HTML ?

3rd Jul 2018, 2:36 PM
Αητοιπe
Αητοιπe - avatar
2 Answers
+ 6
Hello, Antoine Bergerault ! XHTML introduces more stringent rules for document processing. Browsers HTML work with any input data, correct and incorrect, and try to interpret them. The error handling scheme greatly complicates the development of programs, especially when you consider that it is assumed that the reaction of all browsers to incorrect data should be the same. In addition, this means that a huge number of HTML documents contain errors, but are normally displayed by browsers, and the authors do not suspect that the HTML code is incorrect. That's why it is extremely difficult to create a new user agent, while documents issued for HTML are often very bad. By the way, pay attention to the lesson from SoloLearn https://www.sololearn.com/Course/HTML/?ref=app
3rd Jul 2018, 2:48 PM
Alexander Sokolov
Alexander Sokolov - avatar
+ 3
3rd Jul 2018, 3:10 PM
Αητοιπe
Αητοιπe - avatar