
HTML>HTML Basics>Line Break Tag
Heading Tag Paragraph Tag Line Break Tag Comment Tag Horizontal Rule Tag Block Quotes Tag
The Line Break Tag
Text on a webpage will normally word-wrap at the end of a line. If you want text to appear on another line without starting a new paragraph you will need to use the line break tag <br>.
The line break tag is an empty tag, it does not have a closing tag.
Example
Try it out for yourself!
Examine the HTML code below. Cut and paste (Ctrl c + Ctrl v) the following HTML code into the form window below and press the check it out button to see the resulting webpage.
<html>
<head>
<title>The Line Break Tag</title>
<body> <h2>The Line Break Tag</h2>I really love the Internet.<br>
I could surf all day!<br>
My bosses haven't caught me yet,<br>
If they do, they'll dock my pay! <br>
</body>
</html>Creating your own webpage
Follow these simple steps to create your own webpage and to view your created webpage in your browser.