BR XHTML Element

Send Feedback

The BR element inserts a line break. This element does not require a closing tag.

Using this Element

There are some common properties and collections that apply to all the elements of the document object model, see Common Properties for All DOM Elements in Internet Explorer Mobile.

This element can be used within a web page with attributes.

This element can be used within scripts where it will have properties, events and methods.

Attributes

Attribute Value PPC SP Description
CLASS   Yes Yes  
CLEAR   Yes Yes This attribute is equivalent to the CSS:
clear: {clear}
  None Yes Yes Normal line break.
  Left Yes Yes Breaks line and moves down vertically until there is a clear left margin.
  Right Yes Yes Breaks line and moves down vertically until there is a clear right margin.
  All Yes Yes Breaks line and moves down vertically until both margins are clear of images.
ID   Yes Yes  
STYLE   Yes Yes  

Scripting Properties

This element has no scripting properties.

Scripting Events

This element has no associated events.

Scripting Methods

This property has no associated methods.

Requirements

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 5.01 and later

See Also

XHTML Elements

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.