Semantic Layout (Header/Main/Footer)

Semantic Layout (Header/Main/Footer)

Easy HTML Semantic HTML 24 views
Explanation Complexity

Problem Statement

Create a semantic layout for meetcode using header, main, and footer.

Input Format

No input.

Output Format

Print the HTML code.

Constraints

Use semantic tags only.

Input / Output Format

Input Format
No input.
Output Format
Print the HTML code.
Constraints
Use semantic tags only.

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>
  <header>
    <h1>meetcode</h1>
  </header>
  <main>
    <p>Start practicing now.</p>
  </main>
  <footer>
    <p>Copyright meetcode</p>
  </footer>
</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>
  <header>
    <h1>meetcode</h1>
  </header>
  <main>
    <p>Start practicing now.</p>
  </main>
  <footer>
    <p>Copyright meetcode</p>
  </footer>
</body>
</html>
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.