1.

What if one does not use the doctype in the starting of HTML document?(a) Browser finds the document in quirky mode(b) Browser finds a document in standard mode(c) Browser stops working(d) Browser crashes after showing the pageI have been asked this question by my college professor while I was bunking the class.This question is from HTML5 Introduction in section HTML Fundamentals of HTML

Answer»

The correct option is (a) Browser finds the document in quirky mode

Best explanation: If the browser finds in the starting of an HTML document it sets the document in STANDARD mode but if ONE does not use a doctype, the browser GOES to quirky mode. In this mode, certain content will not be DISPLAYED as per one wrote that. So it is always recommended to write a doctype at the very start of the HTML document.



Discussion

No Comment Found

Related InterviewSolutions