What's the difference between the <p> tag and <article>? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What's the difference between the <p> tag and <article>?

html5

18th Jul 2017, 9:05 PM
Adaíma Mussa Mustafa
Adaíma Mussa Mustafa - avatar
3 Antworten
+ 2
article is a new semantic tag in html5 but there's no difference really
18th Jul 2017, 10:02 PM
LordGhostX
LordGhostX - avatar
+ 2
article is a new semantic tag in html5 but there's no difference really
18th Jul 2017, 10:02 PM
LordGhostX
LordGhostX - avatar
+ 1
<p> creates a new paragraph, <article> is basically only a container, alone it doesn't do anything, it just helps to keep the website organized. Articles generally contain things such as news articles, comments, posts, etc.
18th Jul 2017, 9:08 PM
Kevin Eldurson
Kevin Eldurson - avatar