Nested block-level elements

Report a typo

Fill in the blanks to create a nested structure with a div containing a header, a section with an article, and a footer.

Fill in the gaps with the relevant elements
<!DOCTYPE html>
<html>
<head>
  <title>Nested Structure</title>
</head>
<body>
  <div>
    <>
      <h1>Main Header</h1>
    </>
    <section>
      <>
        <h2>Article Title</h2>
        <p>This is the content of the article.</p>
      </>
    </section>
    <>
      <p>Footer content goes here.</p>
    </>
  </div>
</body>
</html>

Create a free account to access the full topic