Navigation Bar

Navigation Bar

Easy HTML Semantic HTML 25 views
Explanation Complexity

Problem Statement

Add a nav with links: Home, Topics, Login (use # as href).

Input Format

No input.

Output Format

Print the HTML code.

Constraints

Use and list.

Input / Output Format

Input Format
No input.
Output Format
Print the HTML code.
Constraints
Use and list.

Examples

Input:
Output:
(HTML code)

Example Solution (Public)

HTML
<!doctype html>
<html lang='en'>
<head>
  <meta charset='utf-8'>
  <meta name='viewport' content='width=device-width, initial-scale=1'>
  <title>meetcode</title>
</head>
<body>
  <nav>
    <ul>
      <li><a href='#'>Home</a></li>
      <li><a href='#'>Topics</a></li>
      <li><a href='#'>Login</a></li>
    </ul>
  </nav>
</body>
</html>

Official Solution Code

<!doctype html>
<html lang='en'>
<head>
  <meta charset='utf-8'>
  <meta name='viewport' content='width=device-width, initial-scale=1'>
  <title>meetcode</title>
</head>
<body>
  <nav>
    <ul>
      <li><a href='#'>Home</a></li>
      <li><a href='#'>Topics</a></li>
      <li><a href='#'>Login</a></li>
    </ul>
  </nav>
</body>
</html>
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.