Whether br has opening tag in html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Whether br has opening tag in html?

yes or no

1st Aug 2017, 11:07 AM
asha antony
asha antony - avatar
4 Answers
+ 6
No! only <br /> or <br>
1st Aug 2017, 11:24 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 3
Only <br> ^^ <br/> is the XHtml form, wich is abandoned since Html5...
1st Aug 2017, 9:58 PM
visph
visph - avatar
+ 2
if you think logically it is obvious to not have be tag in pair. because mainly tag pairs are used to apply different types of text formatting on the text enclosed by the tags, but in case of line breaks you need the break, only this much info is sufficient. correct me if you am wrong.
3rd Aug 2017, 6:03 PM
Vivek Singh
Vivek Singh - avatar
0
no </br>
1st Aug 2017, 11:08 AM
asha antony
asha antony - avatar