Why do we use p tags in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do we use p tags in HTML

I do not know where to use them

2nd Jul 2019, 1:47 PM
daniel
daniel - avatar
7 Answers
+ 10
You put the <p> tag in between the body tags: <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <p> </p> </body> </html>
2nd Jul 2019, 3:18 PM
JTLZ
+ 7
daniel Glad to hear that! 😀 Thanks for the best answer!
2nd Jul 2019, 10:52 PM
JTLZ
+ 1
JTLZ🇨🇦 [#NeverGiveUp!] you really helped
2nd Jul 2019, 10:48 PM
daniel
daniel - avatar
0
The <p> tag stands for "Paragraph" and leaves one empty line before and one after.
2nd Jul 2019, 1:49 PM
Maxim Balakirev
Maxim Balakirev - avatar
0
But where and when do we use HTML p tags? (Other people answer this)
2nd Jul 2019, 2:01 PM
daniel
daniel - avatar
0
When we want to create blocks of text, separating from other blocks.
2nd Jul 2019, 2:16 PM
Lennie
Lennie - avatar
0
But where do we use HTML p tags? (Other people answer this too)
2nd Jul 2019, 2:51 PM
daniel
daniel - avatar