HTML5 Elements - MCQs
HTML5 Elements - MCQs
1) What is the new form elements introduced in HTML5?1) <button>
2) <optgroup>
3) <datalist>
4) <keygen>
5) <output>
A) 1, 2 and 3
B) 2, 3 and 4
C) 3, 4 and 5
D) 4, 5 and 1
View Answer / Hide Answer2) Which among the following tags define a caption for a <fieldset> element?A) <select>
B) <label>
C) <legend>
D) <textarea>
View Answer / Hide Answer3) A next-generation bidirectional communication technology for web applications is.A) Persistent local storage
B) WebSocket
C) Forms 2.0
D) Server-Sent Events
View Answer / Hide Answer4) Which feature lets you create your own vocabularies beyond HTML5 and extend your web pages with custom semantics?A) Geolocation
B) Canvas
C) Microdata
D) WebSocket
View Answer / Hide Answer5) HTML5 is coming with lots of flexibility and it would support which of the following,1) Uppercase tag names.
2) Quotes are optional for attributes.
3) Attribute values are optional.
4) Closing empty elements are optional.
A) A, B and C
B) B, C and D
C) C, D and A
D) A, B, C and D
View Answer / Hide Answer6) Which of the following tag represents a generic document or application section? It can be used together with h1-h6 to indicate the document structure.A) article
B) aside
C) header
D) section
View Answer / Hide Answer7) Local storage data persists forever but session storage is valid until the browser is open, as soon as the browser closes the session variable resets.A) True
B) False
View Answer / Hide Answer8) These new elements <svg> and A) Graphic elements
B) Multimedia elements
C) Semantic elements
D) Control attributes
View Answer / Hide AnswerANSWER: A) Graphic elements