Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

101.

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.

102.

__________ is an extended version of the XHTML markup language for supporting RDF through a collection of attributes and processing rules in the form of well-formed XML documents.(a) XHTML + RDFa(b) XHTML+XHTML5(c) XHTML1.0+XHTML2.0(d) XHTML + RDFThe question was asked by my college director while I was bunking the class.My question is taken from Major Themes of (X)HTML topic in chapter HTML Fundamentals of HTML

Answer» CORRECT answer is (a) XHTML + RDFa

Best explanation: XHTML+RDFa (EXTENSIBLE Hypertext MARKUP LANGUAGE + Resource Description Framework in attributes) is an EXTENDED version of the XHTML markup language for supporting RDF through a collection of attributes and processing rules in the form of well-formed XML documents.
103.

In March 1999, Microsoft released Internet Explorer 5, which supported favicons for the first time.(a) True(b) FalseI had been asked this question by my school teacher while I was bunking the class.The origin of the question is Favicons and Icons in chapter HTML Fundamentals of HTML

Answer» RIGHT option is (a) True

The explanation is: Favicons are graphical INTERFACE given to a site. Firstly, in 1999, favicon was SUPPORTED by Internet EXPLORER 5 which was owned by Microsoft. LATER on, in 1999 favicon was standardized by the W3C.
104.

Every HTML element may have an ____________ attribute specified.(a) itemtype(b) relevant types(c) itemscope(d) itemrefThe question was posed to me in an international level competition.This intriguing question comes from Microdata topic in section HTML Fundamentals of HTML

Answer» RIGHT ANSWER is (c) itemscope

Explanation: “itemtype” attribute specifies URL that is used to provide item’s DATA in data structure. An ELEMENT with the itemscope attribute specified creates a new item, a group of name-value pairs.
105.

What is the role of charset attribute? It specifies(a) a scheme to be used to interpret the value of the content attribute(b) a name for the metadata(c) the character encoding for the HTML document(d) the character decoding for the HTML documentThe question was asked in unit test.Query is from Meta Data topic in division HTML Fundamentals of HTML

Answer»

The correct choice is (c) the CHARACTER encoding for the HTML document

For explanation: A charset ATTRIBUTE is NEW in HTML5. The charset is used to provide the character support. The charset attribute specifies the character encoding which is in an EXTERNAL script file.

106.

Which of the following allows user to view a webpage?(a) Operating System(b) Website(c) Interpreter(d) Internet BrowserThis question was posed to me in an interview.Enquiry is from Choosing Web Servers topic in portion HTML Fundamentals of HTML

Answer»

Right answer is (d) Internet Browser

For EXPLANATION I would say: An interpreter is a computer program that directly executes, instructions WRITTEN in a PROGRAMMING or scripting language. A website is a collection of related web PAGES, which contains multimedia content.An operating system is a balancing bridge between hardware and software. A web/internet browser ALLOWS user to view a webpage

107.

In which part of the HTML metadata is contained?(a) body tag(b) html tag(c) head tag(d) title tagI got this question in a national level competition.Question is taken from Meta Data topic in chapter HTML Fundamentals of HTML

Answer»

Right choice is (c) head TAG

The explanation: Metadata is INFORMATION about DATA. The meta tag provides metadata/meta information about the HTML document. Metadata will not be displayed on the page. Metadata is present in head. The body tag defines document’s body. A title tag is an HTML element which specifies the title of a web page.