- 1

How <BR> tags is different from <P> tags ?

20th Mar 2017, 4:45 PM
Tanu Mehrotra
Tanu Mehrotra - avatar
5 Respuestas
+ 9
<p> can have content, and require a closing </p> <br> cannot have content and is self closing, meaning that there is not closing </br> ( and even less <br/> ) tag...
20th Mar 2017, 6:32 PM
visph
visph - avatar
+ 3
<br > tag is used to break the line and start from next line. But <p> is a paragraph tag. The texts written within thd paragraph tag will be considered as a paragraph.
20th Mar 2017, 4:49 PM
Sampreet Gaonkar
+ 1
U r Welcome
20th Mar 2017, 5:28 PM
Sampreet Gaonkar
0
Thanks
20th Mar 2017, 4:55 PM
Tanu Mehrotra
Tanu Mehrotra - avatar
0
Well, <p> will create and empty space under the end of the paragraph it is like clicking enter twice but a breaker <br> does not it's like pressing enter once.
1st Apr 2017, 9:00 PM
Kittens Rule