🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: HTML Basics: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. Which tag creates a link?
  2. Q2. What is the alt attribute of an image for?
  3. Q3. Which element is INLINE by default?
  4. Q4. In a table, which tag is a data cell?
  5. Q5. What is the DOM?
  6. Q6. Which part of an HTML document is NOT shown on the page?
  7. Q7. Why should every page include <meta name="viewport" content="width=device-width, initial-scale=1"?
  8. Q8. Which of these is an empty tag that has no closing part?
  9. Q9. How many <h1 headings should a page usually have?
  10. Q10. What is wrong with using a <table to arrange the columns of a page layout?