2. Select "Borders and Shading" in the format.
3. Click on the "Horizontal Line" at the bottom of the open border and shading page.
4. Select the desired horizontal line mode in the horizontal wireframe.
Finally, you can see a horizontal line under the title.