+ 3
What are the advantages of using XHTML instead of HTML ?
2 ответов
+ 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
+ 3
Thank you Alexander Sokolov