Use <hr> for Topic Break

Use <hr> for Topic Break

Medium HTML Semantic HTML 21 views
Explanation Complexity

Problem Statement

Show two topic blocks separated by a horizontal rule.

Input Format

No input.

Output Format

Print the HTML code.

Constraints

Use only to separate themes.

Input / Output Format

Input Format
No input.
Output Format
Print the HTML code.
Constraints
Use only to separate themes.

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>
  <main>
    <section>
      <h2>HTML</h2>
      <p>Basics and forms.</p>
    </section>
    <hr>
    <section>
      <h2>CSS</h2>
      <p>Layout and styling.</p>
    </section>
  </main>
</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>
  <main>
    <section>
      <h2>HTML</h2>
      <p>Basics and forms.</p>
    </section>
    <hr>
    <section>
      <h2>CSS</h2>
      <p>Layout and styling.</p>
    </section>
  </main>
</body>
</html>
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.