Please help! I cant understand some html5 elements such as the article header and footer is it really needed for some purpose?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please help! I cant understand some html5 elements such as the article header and footer is it really needed for some purpose??

i cant uderstand the real use of the html5 elements such as article, header, footer etc... is it really matters for using it for some purpose... is it has special uses??

1st Feb 2018, 3:45 PM
Syahrul012
Syahrul012 - avatar
2 Answers
+ 3
Yes they have their own purpose.Using html5 elements can help search engines very much and they make our code more semantic.For example,rather than using a class or id of header inside div element,Using header tag can help SE to understand the code structure more efficiently and interpret the code more semantically.And it is also more readable to human.isn't?
1st Feb 2018, 6:25 PM
Ram Gyawali
Ram Gyawali - avatar
0
oh thanks!
2nd Feb 2018, 4:39 AM
Syahrul012
Syahrul012 - avatar