0
Is <p> property really necessary?
Because I saw some guys coding text in html without adding <p> property and just adding the text they want without any container..?
5 Réponses
+ 2
-It adds meaning to the text of being a paragraph so search engines and the browser know it's not just a normal text it's a paragraph.
-Also browses add some basic styling like margin.
- it works as a container in case you want to select it to apply some styling to it.
+ 1
Only put it if you want to style that paragraph diffrent from the rest of the document
+ 1
elroi Coder ,
Plz Read lessons again with carefully..
Quick guide ..
No, the <p> tag is not always necessary.
You can add text directly without a container,
but note that it's good practice to use appropriate tags for better structure and accessibility.
And Rakesh Deep ,
This is not appropriate place for advertising.
So Maintain the dignity of this fourm and avoid such activity.
0
So the p property is a sementical element??