Header tag


Prev Tutorial Next Tutorial

<Header> tag

Header tag is used for define a header section. Header is always used top of the any html documents or page.

Note: Header tag never use within other tag like within footer tag, section tag, nav tag.

Generally Header area contains following information.

  • Wesite logo
  • Contact us
  • Login
  • List of menu
  • Social media links

Example

	
<!DOCTYPE>
<html>
<style>
header
{
background:cyan;
height:200px;
}
</style>
<body>
<header>
<p>../files/logo.png</p>
<p>Contact us: contact@tutorial4us.com</p>
<p>Login</p>
</header>
</body>
</html>

Result

../files/logo.png

Contact us: contact@tutorial4us.com

Login

Browser supported

Element
<header>YesYesYesYesYes

Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain, Tutorialday.com, SeosmoTools.com @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: hitesh.xc@gmail.com WhatsApp no. 8882538826

Yahoo Advertisements