Elements & Tags — Quiz

Answer all 5 questions, then submit. You need 60% to pass. Log in to save progress.

Question 1
What is the closing tag for <p>?
A <p>
B </p>
C <p/>
D <close p>
Question 2
Which of these is a void (empty) element with no closing tag?
A <p>
B <div>
C <img>
D <strong>
Question 3
Which line is correctly nested?
A <p>Hi <strong>there</p></strong>
B <p>Hi <strong>there</strong></p>
C <strong><p>Hi there</strong></p>
D <p>Hi <strong>there</p>
Question 4
What is the single most common beginner mistake when writing tags?
A Using capital letters
B Forgetting the closing slash
C Adding too much content
D Using spaces
Question 5
In <p>This is <em>great</em></p>, what is the <em> element?
A The parent of the paragraph
B A child of the paragraph
C A void element
D A closing tag