Home  >  Article  >  Web Front-end  >  How to use br in HTML

How to use br in HTML

php中世界最好的语言
php中世界最好的语言Original
2017-11-22 14:13:338880browse

How to use br in HTML? How to use the br tag? What does the br tag do? Today, the editor will give you a detailed analysis of this simple and practical little label.

Syntax:

If there is a place where line breaks need to be forced, then we can use the br tag.

Br Instructions

Often when we need to manually wrap lines, we can achieve content line breaks by adding
.

You may be interested in further reading: p tag, html p,

, the difference between br and p, css does not wrap

Br tag usage cases

In HTML Add the following content in the body area:

This is the first line
This is the second line

There are so many ways to use BR. Friends in need can save it, and please continue to pay attention to other updates of this site.

Related reading:

How to learn Div and CSS


htmlWhy There are garbled characters and solutions


How to use text-indent in CSS

The above is the detailed content of How to use br in HTML. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn