+ 1

Y <br/> and some other tags dosent have closing tags

2nd Apr 2017, 6:25 AM
abhikrishnaram
abhikrishnaram - avatar
3 Answers
+ 2
it's not true html is based on XML so you can write <br /> as <br></br> it should also works, but the br tag doesn't have child so it is best to use short hand. instead of writing like this <TAG></TAG> you can write like this <TAG />
2nd Apr 2017, 6:46 AM
Keshave Jat
Keshave Jat - avatar
+ 2
Thanks
2nd Apr 2017, 6:48 AM
abhikrishnaram
abhikrishnaram - avatar
0
because <br/> is a breakpoint to not form a paragraph like with <p> which creates a paragraph so you can put <br/> to split certain words apart
11th Apr 2017, 8:54 PM
progamingelite 9
progamingelite 9 - avatar