The BR Tag


Normally different browsers decide where is the best place to line breaks in your HTML document. However, there may be times when you want to control where one line ends and the next begins. Use the <BR> tag to do this.

The <BR> tag is very similar to the <P> tag in that both separate text, but the <BR> tag does not include a blank line before starting the next line of text. In other words, the lines are single spaced, not double spaced. For example, the following HTML source code:


This    is   should be the  end of  my first   paragraph in HTML.


This should be the start of my second paragraph in HTML.<BR>


And  this  is  should  be  my  third  paragraph in HTML.<BR>

Would display this on the user's screen:

This is should be the end of my first paragraph in HTML. This should be the start of my second paragraph in HTML.
And this is should be my third paragraph in HTML.

The <BR> tag is only required when you want to control where the line breaks. It is not required after other tags which imply a line break, such as the horizontal rule tag.

What is the horizontal rule tag?


[INDEX] [PREVIOUS] [NEXT PAGE] [CHAPTER 2]

Valid HTML 3.2!