Idocs Guide to HTML

<BR ...>

Usage Recommendation
thumbs up use it

<BR ...> inserts a single carriage return. Whereas <P ...> indicates the start of a new paragraph, <BR ...> only implies a carriage return within the same paragraph. <BR ...> is usually rendered with a single carriage return.

For example, this code:

There once was a man from Nantucket<BR>
Who kept all his dough in a bucket<BR>
His daughter name Nan<BR>
Ran away with a man<BR>
And as for the bucket, Nantucket

produces this

There once was a man from Nantucket
Who kept all his dough in a bucket
His daughter name Nan
Ran away with a man
And as for the bucket, Nantucket

Because <BR ...> does not start a new paragraph, all the current paragraph attributes stay the same:

<P ALIGN=CENTER>
There once was a man from Nantucket<BR>
Who kept all his dough in a bucket<BR>
His daughter name Nan<BR>
Ran away with a man<BR>
And as for the bucket, Nantucket

produces this

There once was a man from Nantucket
Who kept all his dough in a bucket
His daughter name Nan
Ran away with a man
And as for the bucket, Nantucket

Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.