+ 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.
1 ответ
+ 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