HTML

A vibrant and modern digital artwork showcasing various HTML5 elements, features, and coding symbols, illustrating the dynamic web development landscape.

HTML5 Mastery Quiz

Test your knowledge of HTML5 with our engaging quiz! This quiz covers a variety of topics related to HTML5 features, elements, and best practices.

Join now to challenge yourself and see how well you know HTML5!

  • 10 multiple choice questions
  • Instant feedback on your answers
  • Improve your web development skills
10 Questions2 MinutesCreated by CodingSage247
1. Which of the following feature is a part of HTML 5?
A. Persistent Local Storage
B. WebSocket
C. Server-Sent Events
D. All of the above.
2. Which of the following tag represents a piece of content that is only slightly related to the rest of the page in HTML5?
A. section
B. article
C. aside
D. header
3. Which of the following input control represents a date consisting of a year and a month encoded according to ISO 8601 in Web Form 2.0?
A. datetime
B. datetime-local
C. date
D. month
4. Which of the following is true about Local Storage in HTML5?
A. HTML5 introduces the localStorage attribute which would be used to access a page's local storage area without no time limit.
B. This local storage will be available whenever you would use that page.
C. Both of the above
D. None of the above.
5. How to delete a local storage data in HTML5?
A. To clear a local storage setting you would need to call localStorage.remove('key'); where 'key' is the key of the value you want to remove.
B. If you want to clear all settings, you need to call localStorage.clear() method.
C. Both of the above.
D. None of the above.
6. Which of the following method returns a geolocation object in HTML5?
A. navigator.geolocation
B. browser.geolocation
C. API.geolocation
D. None of the above
7. Which of the following attribute specifies the context menu for an element?
A. key
B. contextcontent
C. contextmenu
D. context
8. Which of the following attribute triggers event when the window loses focus?
A. onbeforeload
B. onblur
C. onlostfocus
D. lostfocus
9. Which of the following attribute triggers event when an element leaves a valid drop target?
A. ondrag
B. ondragleave
C. ondragover
D. ondragstart
10. Which of the following attribute triggers event when the document goes offline?
A. onloadedmetadata
B. onloadstart
C. onmessage
D. onoffline
{"name":"HTML", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of HTML5 with our engaging quiz! This quiz covers a variety of topics related to HTML5 features, elements, and best practices.Join now to challenge yourself and see how well you know HTML5!10 multiple choice questionsInstant feedback on your answersImprove your web development skills","img":"https:/images/course1.png"}
Powered by: Quiz Maker