Back To Lesson

Quiz: Advanced HTML and Forms

Quiz Instructions:

  • Each question is followed by multiple-choice answers (A, B, C, D, and sometimes E).
  • Carefully read each question and all answer options before selecting the best answer.
  • Choose the option that most accurately aligns with the key concepts or information provided.

Question 1: Which input type provides users with a date picker?

Question 2: What does the required attribute do in an HTML form?

Question 3: What does the <video> element’s controls attribute do?

Question 4: Which HTML element is used to define a high-priority message for assistive technologies?

Question 5: How does the aria-label attribute improve accessibility?

Question 6: What is the purpose of the placeholder attribute in an input field?

Question 7: What does the loop attribute do in <video> and <audio> elements?

Question 8: Which attribute is used to associate a <label> with an input field?

Question 9: How can browser developer tools help debug HTML?

Question 10: Why should fallback content be included in <video> or <audio> elements?

Question 11: Which ARIA role is used to indicate navigation menus?

Question 12: What does the preload="metadata" attribute do for media files?

Question 13: How does semantic HTML improve accessibility?

Question 14: What does the aria-expanded attribute do?

Question 15: Which input type displays a slider for selecting a range of values?