Put in order · HTML and CSS course · Module 2: The Web and HTML Elements

Horizontal Rule Between Chapters

Arrange the lines of code so that <hr> separates two chapters:

Items to put in order

  • <hr>
  • <h2>Chapter 2: Sphinx</h2>
  • <p>Content about pyramids...</p>
  • <h2>Chapter 1: Pyramids</h2>
Show the answer

Correct order:

  1. <h2>Chapter 1: Pyramids</h2>
  2. <p>Content about pyramids...</p>
  3. <hr>
  4. <h2>Chapter 2: Sphinx</h2>