The header tag () in HTML is used to define a header for a document or a section. It is usually a container for introductory content or a set of navigational links. It may contain some heading elements but also other elements like a logo, wrapped section’s header, a search form, and so on.