How Do I Add a Horizontal Line in WordPress?

Adding a horizontal line in WordPress can be done in a few simple steps. To start, open your WordPress admin panel and navigate to the Visual Editor. In the Visual Editor, choose the Text tab and enter the following code into the editor:

This is a heading

This will create a heading in your blog post. Next, select the text that you want to include as the horizontal line and press the delete key on your keyboard.

This will remove the heading from your blog post. Finally, enter the following code into the editor:.


This will create a horizontal line in your blog post. The line will start at the top of your blog post and will end at the bottom.

You can adjust the line’s height by entering a number into the editor.