Home »
MCQs »
HTML MCQs
What is the correct syntax of <hr> tag?
16. What is the correct syntax of <hr> tag?
- <hr>
- <hr />
- <hr></hr>
- All of the above
Answer: A), and B):
<hr> and <hr />
Explanation:
Both <hr> and <hr /> can be used to display a horizonal line.