nav tag

Advertisements

Prev Tutorial Next Tutorial

nav tag

Html5 introduce new tag <nav> for navigation of links on web page. Before this tag for navigation we use like <div class=menu> and class menu related style written in css file.

Note: Not all links of a document should be inside a <nav> tag. This tag are used only for major block of navigation links.

Syntax

<!DOCTYPE>
<html>
<head>
<style>
nav
{
	color:blue;
}

</style>
</head>
<body>
<nav>
<a href="#">Java</a>
<a href="#">php</a>
<a href="#">Html</a>
</nav>
</body>
</html>

Result

Browser supported

Element
<nav>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