Use a Landmark Diagram
HTML
Easy
2 views
Problem Description
Build HTML landmarks to match this diagram: Header -> Nav; Main -> Section; Footer.
Output Format
Print the HTML code.
Constraints
Follow the diagram using semantic tags.
Official Solution
<!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>
<header>
<nav>
<a href='#'>Home</a>
</nav>
</header>
<main>
<section>
<h2>Content</h2>
</section>
</main>
<footer>
<p>meetcode</p>
</footer>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!