Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

header

The <header> element is used to designate the header of a section in the document. It becomes the header of its parent container. A document can have more than one header element in it.

Code Example

<header> <h2>Learn Web Development Online Free</h2> <p>Study at your own pace building skills that...</p> <nav> ... </nav> </header>

Attributes

globals - the global attributes common to all elements possible values: see global attribute list

Official Documentation

http://www.w3.org/TR/html/sections.html#the-header-element

HTML

Elements

aabbraddressareaasidearticleaudiobbasebdobdiblockquotebodybrbuttoncanvascaptioncitecodecolcolgroupdatadatalistdddeldetailsdfndialogdivdldtemembedfieldsetfigcaptionfigurefooterformh1 h2 h3 h4 h5 h6headheaderhrhtmliiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmetameternavnoscriptobjectoloptgroupoptionoutputpparampreprogressqrb rp rt rtc rubyssampscriptsectionselectsmallsourcespanstrongstylesub supsummarytabletbodytdtemplatetextareatfootththeadtimetitletrtrackuulvarvideowbr