+ 1

What is <br /> ? And Why we use it?

25th Sep 2018, 5:16 PM
Saad Saifullah Khan
Saad Saifullah Khan - avatar
2 Réponses
+ 10
<br/> is a line break. Same behaviour as pressing the ENTER button in a text editor. You cannot add newlines in an HTML code by hitting ENTER because some developers like to split their codes in many parts with newlines and they dont want those to be printed on the output page so we obtained a special tag for it, the br.
25th Sep 2018, 5:23 PM
Valen.H. ~
Valen.H. ~ - avatar
0
All Right...Thanks
25th Sep 2018, 5:55 PM
Saad Saifullah Khan
Saad Saifullah Khan - avatar