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 |
What is heading tag and why it is used for?
What are logical and physical tags in html?
What is meta charset utf8?
How do you create a title tag?
What does cshtml stand for?
What is the main function of html?
How can you define dtd in xhtml?
Which tag contains the cell tags?
What language is html?
Why we use 'clear' in html?
What is the difference between local storage and cookies?
Why are there both numerical and named character entity values?