⚡ Rocket.net – Managed WordPress Hosting

MiltonMarketing.com  Powered by Rocket.net – Managed WordPress Hosting

Bernard Aybouts - Blog - MiltonMarketing.com

Approx. read time: 1.9 min.

Post: The line break HTML tag: br

The line break HTML tag: br lets you start your text on a new line, but without starting a new paragraph. The line break tag is a self-closing HTML tag.

Because there is no content to display on-screen, the line break tag is a single tag.

In this example, we’ve used both the <p> tag, and the <br> tag, see code below:

 

[html] <p>To force<br> line breaks<br> in a text,<br> use the br<br> element.</p>[/html]

The above HTML code displays the following output:

To force
line breaks
in a text,
use the br
element.

A SELF-CLOSING HTML tag is an opening and closing tag rolled into one.

Only some kinds of tag are used this way.

You can spot a self-closing tag because the forward slash / comes at the end of the tag, rather than at the beginning as it does for a regular closing tag.

Definition and Usage

The <br> tag inserts a single line break.

The <br> tag is useful for writing addresses or poems.

The <br> tag is an empty tag which means that it has no end tag.

Tips and Notes on The line break HTML tag: br

Tip: The < br > tag is useful for writing addresses or poems.

Note: Use the < br > tag to enter line breaks, not to separate paragraphs.

Learn more about the line break HTML tag: br on w3Schools.com


Related Videos:

Bernard Aybouts - Blog - MiltonMarketing.com

 


Related Posts:

The HTML paragraph tag: p and /p

Alignment CSS properties

More than one CSS class

Tips and Tricks for WRITING JAVASCRIPT code

Building a web page with HTML tags

CODING WEB PAGES (HTML, CSS, & JavaScript)

CODING WITH CSS: The style attribute

Build to-do list web-app with code

Using more than one CSS property

Learn RE – Regular Expressions in Python

Why JavaScript developers are choosing TypeScript

What is the Python Software Foundation?

B0r0nt0K Ransomware Wants $75,000 Ransom, Infects Linux Servers

GoogleBot Runs Latest Chrome – This Is Big News

College graduates not learning a programming language that’s vital for top tech jobs.

About the Author: Bernard Aybout (Virii8)

Avatar of Bernard Aybout (Virii8)
I am a dedicated technology enthusiast with over 45 years of life experience, passionate about computers, AI, emerging technologies, and their real-world impact. As the founder of my personal blog, MiltonMarketing.com, I explore how AI, health tech, engineering, finance, and other advanced fields leverage innovation—not as a replacement for human expertise, but as a tool to enhance it. My focus is on bridging the gap between cutting-edge technology and practical applications, ensuring ethical, responsible, and transformative use across industries. MiltonMarketing.com is more than just a tech blog—it's a growing platform for expert insights. We welcome qualified writers and industry professionals from IT, AI, healthcare, engineering, HVAC, automotive, finance, and beyond to contribute their knowledge. If you have expertise to share in how AI and technology shape industries while complementing human skills, join us in driving meaningful conversations about the future of innovation. 🚀