What is the different between "head &header" Tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the different between "head &header" Tag?

Head tag is non-visual, unique & Header tag his visible. Am I wright or have other rich information? if have please explain.

26th Jul 2017, 1:27 AM
ⓤⓝⓢⓜⓐⓡⓣ ⓑⓞⓨ
ⓤⓝⓢⓜⓐⓡⓣ ⓑⓞⓨ - avatar
1 Answer
+ 1
<head> tag has data that you will not see on the page except for the contents in the <title> tag which is the name of the page. It hosts data for search engine optimization such as keywords, links to relevant CSS and JavaScript, and other metadata. <header> tag has visible information that's usually the website logo, the <nav> tag (which has important main site links) and maybe some sort of catchphrase Check the World Wide Web Consortium's official website https://www.w3.org/wiki/Html/Elements/head https://www.w3.org/wiki/Html/Elements/header
26th Jul 2017, 3:04 AM
God Usopp
God Usopp - avatar