The break tag

I've already taught you how to make your first page and change the background color. You can write whatever you want on it, but you may have noticed that you can't make the text go to the next line by pressing the enter button like you can in a word processor. I think the easiest way to move to the next line is to use a break tag that looks like this: <br> . Just remember that br stands for break. Here's some sample code:

Notice that one line break tag moves the text to a new line, and two line breaks will skip the next line and leave a space. You can put as many break tags as you want in a row, but I recommend just using a max of two. After that, you should probably be using margins and padding, which is some CSS we will get to another day.

submit to reddit

More: HTMLbrline break

Source: Seth | 2012-05-11

Recent Posts:

Repeating background image

Don't forget to comment your work

Layout your webpage using divs

Link it together

Images- the img tag