0
<p> tag?
I wonder, what is the actual use of <p> tag other creating a breakline
8 Réponses
+ 1
The <p> tag is used for large bodies of text. For example if you have an 'About Me' page on your website, and you wanted to write a few paragraphs about yourself, you would write it between <p> and </p>.
When you write something in a <p> tag it automatically creates a line break, as if you were writing a new paragraph. However if you want to add in singular line breaks yourself, you should use <br />
+ 2
the <p> tag is used to start or make a paragraph. you can use <p1> <p2> <p3> and so on. when you enter your css you can use p1 {} to customize anything within that tag. the <p> tag is very helpful in alot of ways
+ 1
You write a long text, dividing it into paragraphs to make it readable and nice looking, and later you can change the formatting of all paragraphs at once, with the help of CSS. You need <p> tags to do that.
0
It isn't used to create a line break; <br> tag is. It's a paragraph element used for creating paragraphs.
0
Example :
If you had visited any article , its written in this layout
This is an article...................
.............
....... and so on.
This is created using p tag.
Hope this helps ☺️☺️.
- 1
I still dont understand whats paragraph is for
- 1
<p> tag is used for adding paragraphs into webpages. Maybe used for adding IDs and classes to text.