This is an XHTML standard, still valid in HTML5, but that has already fallen into disuse.
Note that we also no longer need to do to close this type of tag. A tutorial on creating a divider in HTML pages with the hr tag The HTMLKeep reading to understand how to stylize the tag with CSS or draw separators with CSS only: Horizontal line with Try one of these free dividers, using graphics will help draw visitors attention to your content. The reason it is so tall is that I also use the image for padding.
I'd then stretch the image to the full width of the table cell. Once added, you’ll see your horizontal line divider. Assuming your divider line is only a few pixels thick, I usually use an image say 10px x 40px, with the divider line vertically centered (although technically 1px x 40px would work). Next, select the Separator block from the Layout Elements section or search for it using the search bar.
To add a horizontal line using the WordPress block editor, click the (+) icon to add a new block wherever you want the line to be. But the tag is not ideal for separating elements in lists, for example. Adding a Horizontal Line in the WordPress Block Editor. Generally, the HTML tag (horizontal rule) is a semantic tag that's used to draw a horizontal line, separating elements horizontally. In this article, I'm gonna show you the main ways to do it. There are many ways to draw a horizontal separator in HTML and CSS.