What is the difference between break and paragraph tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between break and paragraph tag

What is the mistake if we write break tag instead of paragraph tag.

18th Jun 2019, 3:45 PM
Prince Baheti
Prince Baheti - avatar
3 Answers
+ 11
Break tag is for a line break (inline element) Pargraph tag is for a paragraph with text (block element)
18th Jun 2019, 3:48 PM
JTLZ
+ 6
Break tag is used for line break i.e. for entering into next line. It works similar like the enter button on ur keyboard😂 Whereas paragraph tag is used to make a paragraph i.e. to display words in the output. Normal words = Paragraph Thanks
18th Jun 2019, 3:51 PM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar
+ 1
<br/> tag is use for break the paragraph. The paragraph starts in next line And <p> is simply used fir mentioning paragraph
18th Jun 2019, 6:29 PM
Mayank Chattree
Mayank Chattree - avatar