asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Elements > HEADER Element

<header> Element


Represents the header of a document or section.HTML 5

HTML Syntax

NOTE: Both start and end tags are required.

Remarks

The <header> element represents introductory content, typically a group of introductory or navigational aids.

The element can be used to define a global site header or banner, which usually includes a logo, company or website name, search feature, and possibly site-wide navigation aids, and is generally located at the top of the page.

An example is the header on top of each page in this workshop.

When used within sectioning content, a header may contain introductory heading elements ( h1–h6 ) and possibly author information, publication date, etc.

Attributes

The <header> element has no attribute of its own, but supports global attributes common to all HTML elements.

Example

The following example shows how the <header> element may be used.



External References

See Also

ARTICLE   ASIDE   FOOTER   MAIN   NAV   SECTION



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note