How Can explain br tag for me? & difrence br & p | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How Can explain br tag for me? & difrence br & p

11th Jun 2017, 12:15 PM
Ali Shadi
Ali Shadi - avatar
5 Answers
+ 2
tax a lot
11th Jun 2017, 12:29 PM
Ali Shadi
Ali Shadi - avatar
+ 1
<p> puts a new line before the paragraph </p> puts a new line after the paragraph <br/> puts a line break in the paragraph
11th Jun 2017, 12:27 PM
Andrés04_ve
Andrés04_ve - avatar
+ 1
wher are u from valad?
11th Jun 2017, 12:44 PM
Ali Shadi
Ali Shadi - avatar
0
tanx. i got it
11th Jun 2017, 12:43 PM
Ali Shadi
Ali Shadi - avatar
0
<p> is a body tag. Allows you to insert a paragraph with formatting and some properties. Wikipedia says : "As a simple example, the <p> start tag indicating the start of a paragraph element should be closed by a </p> end tag, indicating the end of the element." <br/> is also a body tag, but it is an inline element with no other properties. It just insert or force a line break (same as pressing Enter in Word after the end of a paragraph)
23rd Jun 2017, 6:58 AM
Orlando Navas
Orlando Navas - avatar