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



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

Post New Answer

More HTML DHTML Interview Questions

How to create a hyperlink in html?

0 Answers  


What are deprecated html elements?

0 Answers  


How do you insert an email link in html?

0 Answers  


How do you add a template to html?

0 Answers  


Is xhtml a programming language?

0 Answers  






What is the div tag?

0 Answers  


What is an email tag?

0 Answers  


what are different types of heading are supported by html?

0 Answers  


Do web developers use html?

0 Answers  


What is the svg element?

0 Answers  


What is <!doctype>? What are the different types of <!doctype> that are available?

0 Answers  


What are deprecated tags?

0 Answers  


Categories