Site hosted by Angelfire.com: Build your free website today!

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.

HTML Paragraph TagHTML Paragraph TagHTML Comment TagHTML Comment Tag

 

 

HTML OverviewHTML RequirementsHTML TagsHTML Document StructureViewing HTML Source CodeHTML Heading TagHTML Paragraph TagHTML Comment TagHTML Horizontal Rule TagHTML Block Quote TagsHTML Font Size AttributeHTML Font Colour TagHTML Font Type TagHTML Teletype TagHTML Alignment TagHTML Ordered ListsHTML Unordered ListsHTML Definition ListsHTML Anchored Link TagsHTML Mailto Link TagsHTML Image TagsLets create a webpageTake the HTML QuizHTML Quick Reference GuidePublishing your Website