Header tag

Advertisements

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

Advertisements

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

For Projects 9999595223

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements