22 Program to demonstrate NAV Element in HTML

Program:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>HTML Nav Element</title>
    <style>
        body{
            font-family: Arial, sans-serif;
        }
    </style>
</head>
<body>

   <!-- HTML Nav Element -->
   <nav>
    <a href="/html/">HTML</a> |
    <a href="/css/">CSS</a> |
    <a href="/js/">JavaScript</a> |
    <a href="/python/">Python</a>
  </nav>
</body>
</html>



Output:

NAV Element in HTML

Previous
Next Post »