HTML5: Multiple Choice Quiz

Multiple Choice Quiz:

Explore HTML5’s enhancements with our quiz! Learn about semantic elements, multimedia handling, offline storage, and more.

Question 1:

What does HTML5 stand for?

  1. a) Hyperlink Text Markup Language 5
  2. b) Hypertext Markup Language 5
  3. c) Hyperlink Technology Markup Level 5
  4. d) High-level Text Manipulation Language 5

Question 2:

Which of the following is a new semantic element introduced in HTML5?

  1. a) <div>
  2. b) <section>
  3. c) <span>
  4. d) <paragraph>

Question 3:

What is the purpose of the `<canvas>` element in HTML5?

  1. a) Display animated GIFs
  2. b) Play audio files
  3. c) Create and manipulate graphics using JavaScript
  4. d) Embed external websites

Question 4:

Which input type is specifically designed for entering email addresses?

  1. a) text
  2. b) email
  3. c) input
  4. d) address

Question 5:

How does HTML5 improve video handling compared to previous versions?

  1. a) It removes support for video playback.
  2. b) It introduces the &lt;video&gt; element for embedding videos.
  3. c) It only supports videos in the AVI format.
  4. d) It requires a third-party plugin for video playback.

Question 6:

Which of the following is an advantage of using the `<article>` tag in HTML5?

  1. a) It is used for grouping header content.
  2. b) It defines a section of navigation links.
  3. c) It is a container for metadata.
  4. d) It represents an independent piece of content.

Question 7:

What is the purpose of the `<datalist>` element in HTML5?

  1. a) It defines a list of data items in a database.
  2. b) It creates a dropdown menu for selecting fonts.
  3. c) It provides options for completing input fields.
  4. d) It generates a list of images for a gallery.

Question 8:

Which HTML5 feature is used for offline storage in web applications?

  1. a) localStorage
  2. b) sessionCache
  3. c) offlineStorage
  4. d) cacheManifest

Question 9:

How does the `<header>` element differ from the `<h1>` to `<h6>` elements in HTML5?

  1. a) `<header>` is used for creating navigation menus, while `<h1>` to `<h6>` are headings.
  2. b) `<header>` is a block-level element, while `<h1>` to `<h6>` are inline elements.
  3. c) `<header>` defines a header section at the top of an article or page, while `<h1>` to `<h6>` define headings.
  4. d) `<header>` is used for inserting images, while `<h1>` to `<h6>` define text structure.

Question 10:

What is the purpose of the `<progress>` element in HTML5?

  1. a) Display a scrolling marquee of text.
  2. b) Show the progress of a web page loading.
  3. c) Create a progress bar for visualizing the completion of a task.
  4. d) Play audio files with a progress indicator.

“To access answers, kindly click here.”

Leave a Comment