HTML: insert line - how it works
To create a visual separation in an HTML document, you can insert a horizontal line. We show you in this article how to do it.
Insert horizontal line in HTML
With a short tag, insert a horizontal line in HTML:
- Select the appropriate position in your HTML document and type the command
on. - A gray, thin line now appears in your document.
- If you need more creative freedom, you should extend your HTML document with CSS.