The header tag defines introductory content for its containing element. It typically contains the heading (<h1>-<h6> tags) and introductory text, and comes before the main content. It differs from the head tag, which contains metadata and is not displayed. The header tag should not be nested within other sections like <footer> or <address>.