0

Does the <br /> really doesnt have a ending tag??

I tried it in try by yourself and it did work....am a beginner btw

5th Oct 2019, 11:37 AM
MAHMOUD ELNAGAR
4 ответов
+ 4
HTML is loosely typed language. So the browser worked on it. <br> tag is empty tag and it does not have an ending </br> tag. <br/> means that you opened and closed it at the same moment and since <br> is empty tag, it doesn't need an ending tag.
5th Oct 2019, 11:59 AM
Chetali Shah
Chetali Shah - avatar
+ 2
Browsers are very tolerant with all kinds of mistakes so the fact that it worked says nothing. The br tag does not have an ending tag :) https://www.w3schools.com/TAGS/tag_br.asp
5th Oct 2019, 11:40 AM
Aaron Eberhardt
Aaron Eberhardt - avatar
0
Thx guys i rlly appreciate that :D
5th Oct 2019, 12:01 PM
MAHMOUD ELNAGAR