QuizNot attempted
Void elements
1–4 to choose, Enter to submit
Show answer & explanation
Correct answers:
<img><input><br>and<hr>
- Void elements can't have children and have no closing tag:
area, base, br, col, embed, hr, img, input, link, meta, source, track, wbr, so<img>,<input>,<br>and<hr>all qualify. - Not textarea: its text content is its default value, so it needs
</textarea>. - The trailing
/>on void elements is optional in HTML.