24.
What HTML element will add a horizontal rule between the <h1> and <h2> headings?
<h1>Hello, World!</h1>
<h2>Say hello to the world of computer science.</h2>
<h1><hr/><h2>
<h1></h1><h2></h2>
<h1></h2>
<hr>
Correct: D
The correct answer is <hr>. The <hr> HTML element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section.