Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

How to Use HTML Line Breaks

Share this post!
 Vote this!

Line breaks are used in HTML when you want to move an element down to the next line on a page. For this example we will use two sets of three headings. The first set will have line breaks, and the second set will not have any line breaks so you can see the difference in space between the two. In this tutorial, you will learn how line breaks are used.

We chose Server Intellect for its cloud hosting, for our web hosting. They have managed to handle virtually everything for us, from start to finish. And their customer service is stellar.
The HTML
Here, we will creating multiple headings using the ”h(1,2,3,4,5)” tags, and spacing using the line break.

While the bottom headings will be spaced, this is because the “h(1,2,3,4,5)” tags automatically move the next header to the following line. In this example, we are adding additional line breaks, the “br/” tags, which will create additional spacing for the headers.

More...

0 comments:

Post a Comment