Why the <br /> in this program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why the <br /> in this program?

why there no use of </p>?

28th Apr 2018, 11:53 AM
Riju Sharma
Riju Sharma - avatar
4 Answers
+ 2
A <p> is for a paragraph and should always end with </p>. The <br /> tag adds a linebreak into the forms
28th Apr 2018, 11:59 AM
Memphis Reigns
Memphis Reigns - avatar
+ 3
Memphis Reigns <br> tag is a line break to all HTML's element.
28th Apr 2018, 12:21 PM
Amethyst Animion
Amethyst Animion - avatar
+ 2
JFS Λиϊмϊόи correct but as i noticed the tag for forms, i specifically mentioned it that way
28th Apr 2018, 12:25 PM
Memphis Reigns
Memphis Reigns - avatar
+ 2
Memphis Reigns I always use it on <p> tag. for form, I'd better to use css
28th Apr 2018, 12:26 PM
Amethyst Animion
Amethyst Animion - avatar