Get the App
SLTechnology News&Howtos  ›  Development  › 

How to insert a row in HTML

Shulou Source: shulou.com Published: 2022-06-01 12:17:36 10月03日 Update

This article is about how to insert a line in HTML. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

One: html horizontal line label hr attribute

Tags mainly create horizontal lines in html, hr is a single tag, there is no closing tag, and all browsers support tags. In html, the horizontal feature is 100% width, using a separate line, and there is a certain distance between the upper and lower content.

Two: how to insert a row in HTML

1. You need to right-click html and choose a text editor (for example, notepad) from the Open with menu.

two。 Select the html location where you want to insert the line, then click the far left side of the code and place the cursor directly at the beginning of the line.

3. Create a space, press and hold Enter to move down twice, and then move the cursor up to the space.

4. Add the "hr" tag, enter a space before the line starts, and the tag creates a horizontal line for the entire page.

5. Move the line in front of the "hr" label to the new line, press Enter, and the label should display a horizontal line.

For example:

one

two

three

four

five

six

seven

eight

This is a title.

This is the paragraph text separated from the line title.

The effect is as follows:

Thank you for reading! This is the end of the article on "how to insert a row in HTML". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Tag line horizontal content horizontal line move cursor text more title space article this is select good in line practical up and down code will create Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS vpn Microsoft MariaDB NVidia