SEARCH: webmonkey  the web

 
The How-to Library:

Authoring
Design
Multimedia
E-Business
Programming
Backend
Jobs
---------
About Webmonkey



<advertisement>

Lycos Domains
Lycos Domain Names
Get email forwarding, domain management tools, and more for just 9.95 a year!

</advertisement>



Sign up for Elbow Grease,
our newsletter.

Authoring   HTML Basics
Line breaks

<br> inserts a line break

In most cases, the paragraph tag, <p> - which skips a line before starting a new one - is the best way to divide up your text. However, there may be occasions when you want to end a line of text and start a new one without skipping a line in between. In these cases, it's usually best to insert a line break, using the <br> tag.

The HTML for a poem using line breaks might look like this:

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!

And will read like this:

I really love the Internet.
I could surf all day!
My bosses haven't caught me yet,
If they do, they'll dock my pay!


Got a handle on it? Now try it yourself.



Learn More
View Source
Paragraphs
Headlines
Links
Mailtos
Comment tags
Bold/Italics
Font color
Font size
Teletype
Blink
Preformatted text
Background image
Background color
Blockquotes
Line breaks
Aligning text
Adding/Aligning Images
Ordered lists
Unordered lists
Definition lists
Image borders
Wrapping text