Home > Article > Web Front-end > How to use br in HTML
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:
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!