Line break tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Line break tag

I used <br> , </br> , <br/> all the three tags one at a time for breaking the line. The results were the same. How is this possible??? How could the computer depict the same meaning for all the three tags???

24th May 2019, 2:49 PM
Yash Anand Mutatkar
1 Answer
+ 1
The br tag doesn't need to have an end tag. So you can write the three forms! <br> = without end tag </br> = end tag <br /> = tag + end tag at once
24th May 2019, 2:53 PM
Théophile
Théophile - avatar