🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: HTML Basics: all 10 questions

Quiz: HTML Basics · Question 8 of 10

Which of these is an empty tag that has no closing part?

Which of these is an empty tag that has no closing part?

  1. A.<p>
  2. B.<a>
  3. C.<ul>
  4. D.<img>
Answer & explanation

Correct answer: <img>

img, br and input have no content, so they have no closing tag.

Can you get the rest right without peeking?

Take the timed Quiz: HTML Basics quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →