0
I can use <p> instead of <article> so what is the benefit of using <article>...!!
2 odpowiedzi
+ 2
<p>➡ Defines the paragraph in htm document
<article>➡ Article element represents a self-contained composition in a document, page, application, or site . This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.
+ 1
Semantic mean... Try to read an html code... If you encounter an <p> you know that its an paragraph text but if you encounter an <article> you know that content its a important content piece of web page