+ 7
Is <p> Semantic?
https://www.thoughtco.com/why-use-semantic-html-3468271. Actually, I do not really understand semantic tags
2 Réponses
+ 7
Yes <p> is semantic if you use it to contain paragraphs of text. "Semantic" is about expectations, if your markup is following a "Standard" semantic then other "people/bots" will know what your tags mean. Ex, screen-reader software will pick out the content of your <p> tags and "expect" them to contain textual content.
Google's robot "could" use keywords from your <header> tags for instance.
If the content in your <p> tag could better be described by another standard tag then you should use that instead.
Have a look at https://www.w3.org/wiki/HTML/Elements/p
+ 3
p is a semantic tag 😊 it tells the browser that the enclosed content is paragraph