" where a line break is needed. The br tag is an empty tag, meaning it has no closing tag; the br tag simply starts a new line, and when the browser encounters the p tag, it usually inserts some vertical spacing between adjacent paragraphs."/> " where a line break is needed. The br tag is an empty tag, meaning it has no closing tag; the br tag simply starts a new line, and when the browser encounters the p tag, it usually inserts some vertical spacing between adjacent paragraphs.">

Home  >  Article  >  Web Front-end  >  What does br mean in css

What does br mean in css

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-07-23 14:32:155960browse

br in css means line break. Just add "df250b2156c434f3390392d09b1c9563" where a line break is required. The br tag is an empty tag, meaning it has no closing tag; the br tag simply starts a new line, and when the browser encounters the p tag, it usually inserts some vertical spacing between adjacent paragraphs.

What does br mean in css

The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.

0c6dc11e160d3b678d68754cc175188a inserts a simple newline character. The

0c6dc11e160d3b678d68754cc175188a tag is an empty tag (meaning it has no closing tag, so this is an error: 0c6dc11e160d3b678d68754cc175188a0b9f73f8e206867bd1f5dc5957dbcb38). In XHTML, place the closing tag within the opening tag, i.e. df250b2156c434f3390392d09b1c9563.

Note that the 0c6dc11e160d3b678d68754cc175188a tag simply starts a new line, while the browser will usually insert some vertical spacing between adjacent paragraphs when it encounters the e388a4556c0f65e1904146cc1a846bee tag.

Example:

<html>

<body>

<p>
To break<br />lines<br />in a<br />paragraph,<br />use the br tag.
</p>

</body>
</html>

Effect:

To break
lines
in a
paragraph,
use the br tag.

clear property

If you want the text flow to continue output on the next line of the inline table or image, please Use the clear attribute, which has three optional values: left, right, or all. Each value represents a border or borders on both sides.

Normally, the 0c6dc11e160d3b678d68754cc175188a tag tells the browser to immediately stop the current text flow and continue output text flow starting to the left of the next line, or to the right of a left-aligned inline graphic or table.

But sometimes, you may want the current text flow to continue outputting one line below the current left or right inline table or image.

HTML 4 and XHTML provide this functionality through the 0c6dc11e160d3b678d68754cc175188a tag. It can have three values: left, right, or all, each representing one or both edges. The browser will only continue to output text when there is no image within the specified bounds.

Tip: Normally, other lines in the text flow will appear at the bottom of the inline image, unless the graphic's a1f02c36ba31691bcfe87b2722de723b tag is set to left or right alignment (for the f5d188ed2c074f8b944552db028f98a1 tag Same thing). Therefore, the clear attribute of the 0c6dc11e160d3b678d68754cc175188a tag only works on these left-aligned or right-aligned images or tables.

Recommended learning: css video tutorial

The above is the detailed content of What does br mean in css. 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