Enter HTML5 entry to proficient: <br/> Label

Source: Internet
Author: User
Keywords tags HTML5 Getting started to master

<BR/> Label

Definitions and usage

<BR/> Label Inserts a simple newline character.

The <BR/> tag is an empty tag, meaning it has no end tag. So this is the wrong:<br></br>

Instance

This text contains<br/>a line break

Output:

This text contains
A line break

Try it for yourself.

Differences between HTML 4.01 and HTML 5

No。

Tips and comments

Tip: Use the <br/> tab to enter blank lines instead of separating the paragraphs.

Standard properties

The <BR/> Tag supports the standard properties in HTML 5.

Event Properties

The <BR/> Tag supports event properties in HTML 5.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.