article or header | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

article or header

when do i use the article tag? it seems like i could just use a header tag

28th Feb 2017, 2:59 AM
Melissa Harris
Melissa Harris - avatar
5 Answers
0
these are specific html5 tags. you would use header when applying the header for a website. so the bar at the top(not the nav) is a header. an article rage is supposed to serve as an extended p tag. Where you can ever a lot of text. but its supposed to have different attributes. another article tag would be the aside? not 100% on that. these html5 elements have no built in functionalities so im sure you could wrap everything in footer tags and apply different classes to it. but we use the in the correct spots, as an assist to documentation. hope this helps!!
28th Feb 2017, 6:41 AM
Michael Szczepanski
Michael Szczepanski - avatar
0
some.
28th Feb 2017, 2:41 PM
Melissa Harris
Melissa Harris - avatar
0
i do better with examples. if you could plz create a simple code to compae them that would be very much appreciated
28th Feb 2017, 3:12 PM
Melissa Harris
Melissa Harris - avatar
0
if you can check my codes. i posted one called web_HeaderAndArticlevsDiv go check it out! if it does not suffice and you need more, please do not hesitate to ask!
28th Feb 2017, 6:19 PM
Michael Szczepanski
Michael Szczepanski - avatar
0
************just realized it was not a public code :( sorry about that. you should be able to see it now :D
1st Mar 2017, 8:18 PM
Michael Szczepanski
Michael Szczepanski - avatar