Get the App
SLTechnology News&Howtos  ›  Development  › 

Which label is the newline in html?

Shulou Source: shulou.com Published: 2022-06-02 11:06:03 10月04日 Update

The purpose of this article is to share with you the content of which line wrap tag is 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.

The label for line breaks in html is: "

"which can insert a newline character at the specified location

"the tag tells the browser to stop the current text stream immediately and continue to output the text stream on the left side of the next line, or on the right side of the left-aligned inline drawing or table.

The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.

In html, the newline label is "

".

You can insert a simple newline character.

The tag is empty (meaning it does not end the tag, so this is wrong:

). In XHTML, put the closing tag in the opening tag, that is.

Attention please,

The tag simply starts a new line, and when the browser encounters

When tagging, some vertical spacing is usually inserted between adjacent paragraphs.

Let's take a look at the use of newline tags through an example, as follows:

Document 123123123123

132123123132123123

123132132132132

Output result:

Thank you for reading! This is the end of the article on "which is the tag for line break 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: Tags lines content newline characters text more browsers examples articles browsing output good practical in between that is location just right graphics often Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Docker Apple Xiaomi MariaDB