Why should I care if my document is in correct HTML? It
displays all right on my browser.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle events with dhtml?

468


Can we write html in javascript?

431


Is br an empty tag?

435


Do I have to memorize a bunch of tags?

480


What are the types of labels?

443






How do you change the number type in the middle of a list?

498


How do I insert an image?

479


What is the relationship between SGML,HTML , HTML and HTML?

487


What is html renderaction?

464


How do you make a picture into a background image of a web page?

473


Do you have to close br tags?

540


What is the image tag?

443


What does p

440


Is xhtml still used 2018?

440


Tell me what purpose does html5 serve?

470