Which tag is used to display a horizontal line in HTML?
-
A
<br>
-
B
<hr>
Correct answer
-
C
<line>
-
D
<hline>
7 views
Explanation
The
(horizontal rule) tag draws a horizontal line across the page.
inserts a line break.
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ