Definition and Usage

The
tag inserts a single line break.

The
tag is an empty tag (means that it has no end tag - the following is wrong:

)

Differences Between HTML and XHTML

In HTML the
tag has no end tag.

In XHTML the
tag must be properly closed, like this:

Use the
tag to enter blank lines, not to separate paragraphs.

Example

Toronto is the largest city in Canada and the fourth largest in North America.</P> <BR CLEAR=left> <P>The city is highly multicultural, with over 80 ethnic communities from Africa, Asia, and Europe...

-Greg B.

The
tag inserts a single line break.

http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_br

Is a website that offers a demo to use the command correctly.

  • Make sure not to confuse
    (Breakline) with

    (Paragraph)

-
breaks ONE line while

breaks TWO!!!





<br /> can be used to create wanted line-spaces on a page, for example:
Input:

The<br /><br /><br /><br /><br />end.

Output:
The




end.

-Nicole M.


Page Information

  • 11 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts