What is the Difference Between Head and Header?

Recommended Answers

All 4 Replies

Head tag:
The HTML element provides general information (metadata) about the document, including its title and links to/definitions of scripts and style sheets.

Header tag:
The HTML element represents a group of introductory or navigational aids. It may contain some heading elements but also other elements like a logo, wrapped section's header, a search form, and so on.

Head :
head is the tag at the top of your page containing your meta-tags, styles, scripts and title.

Header :

header tag contains information related to the title and heading related content which is display on web page.

Turish, you're referring to yet a third thing, HTTP headers.

I think they were comparing head vs header HTML tags:

<html>
    <head>
    </head>
    <body>
        <header>
        </header>
    </body>
</html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.