Why should I care if my document is in correct HTML? It
displays all right on my browser.
Answer / guest
All browsers know how to deal with correct HTML. However, if
it is incorrect, the browser has to repair the document, and
since not all browsers repair documents in the same way,
this introduces differences, so that your document may look
and work differently on different browsers. Since there are
hundreds of different browsers, and more coming all the time
(not only on PCs, but also on PDAs, mobile phones,
televisions, printers, even refrigerators), it is impossible
to test your document on every browser. If you use incorrect
HTML and your document doesn't work on a particular browser,
it is your fault; if you use correct HTML and it doesn't
work, it is a bug in the browser.
| Is This Answer Correct ? | 0 Yes | 1 No |
Is html front end?
How to remove/clear the data from local storage?
How do you create links to sections within the same page?
What is namespace example?
What is meta information in html?
How many tags can be used to separate a section of texts?
What is the minimum number of html5 tags that are required to create a web page?
What is list tag in html?
Why html is markup language?
What is the difference between active link and normal link in html?
What are the different attributes of the font tag?
Why is XHTML2 needed? Isn't XHTML 1 good enough?