How to use br in HTML

php中世界最好的语言
Release: 2017-11-22 14:13:33
Original
8875 people have browsed it

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!

Related labels:
source:php.cn
Previous article:How to use css to manipulate link styles Next article:How to use