What is the difference between <head> and <header> ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

What is the difference between <head> and <header> ?

18th Nov 2019, 9:39 AM
Sandeep Dhakarwal
Sandeep Dhakarwal - avatar
2 Respostas
+ 3
head tag is a features of html where you can import js and css file and also you can write js and css code inside it. You can also put meta data information for SEO. Header tag is new features of html5 which can be use for different purpose like to put your menu bar contents.
18th Nov 2019, 10:16 AM
AĶ¢J
AĶ¢J - avatar
+ 1
TheĀ headĀ tag is used for holding Meta information, title, links, etc. and is not displayed on the page. TheĀ headerĀ tag is used within theĀ bodyĀ of the website and can be used multiple times if required, e.g. to determine the top of anĀ article.
18th Nov 2019, 10:16 AM
Arsenic
Arsenic - avatar