HTML Basics MCQs
11. Who invented HTML?
A. Hakon Wium Lie
B. Tim Bruce
C. Tim Berners-Lee
D. Guido van Rossum
View Answer
Ans : C
Explanation: Tim Berners-Lee invented HTML.
12. Which of the following in incorrect?
A. HTML can be used for creation of web pages
B. HTML is not a programming language.
C. HTML is a programming language.
D. HTML is a Markup language.
View Answer
Ans : C
Explanation: HTML is not a programming language.
13. Choose the correct option.
A. HTML files should have an extension .html
B. HTML files should have an extension .htm
C. Both A and B
D. None of the above
View Answer
Ans : C
Explanation: HTML files can have extensions as .htm or .html
14. Choose the correct option.
A. Both HTML4 and HTML5 have local storage.
B. Both HTML4 and HTML5 do not have local storage.
C. Only HTML4 has local storage.
D. Only HTML5 has local storage.
View Answer
Ans : D
Explanation: Local storage is not supported in HTML4.
15. In HTML document, the part which is visible is between __________ and __________ tags.
A. <html> and </html>
B. <head> and </head>
C. <body> and </body>
D. <form> and </form>
View Answer
Ans : C
Explanation: The content between <body> and </body> only gets visible.
16. Which of the following defines the title of a work?
A. <cite>
B. <hr>
C. <a>
D. <address>
View Answer
Ans : A
Explanation: The <cite> tag defines the title of a work.
17. Which of the following is the attribute that is used to set a global identifier for a microdata item?
A. key
B. id
C. itemclass
D. itemid
View Answer
Ans : D
Explanation: Itemmid allows a vocabulary to define a global identifier for a microdata item, for example an ISBN number on a book.
18. HTML is a subset of
A. SGMD
B. SGML
C. SGMH
D. None of the above
View Answer
Ans : B
Explanation: HTML is a subset of SGML.
19. HTML uses
A. User defined tags
B. Pre-specified tags
C. Fixed tags defined by the language
D. Tags only for linking
View Answer
Ans : C
Explanation: HTML uses Fixed tags defined by the language.
20. Which of the following is not a browser ?
A. Microsofts Bing
B. Netscape Navigator
C. Mozilla Firefox
D. Opera
View Answer
Ans : A
Explanation: Microsofts Bing is the following is not a browser.
Also check :
Discussion