br - Line break

Inserts a break in text.

Category

Core Controls

Syntax

<xp:br attributes>content</xp:br>
Table 1. All properties
Category Properties
accessibility title
basics attrs, binding, id, loaded, rendered, rendererType
dojo dojoAttributes, dojoType
styling disableTheme, style, styleClass, themeId

Usage

At run time, a line break appears on the page.

Typically this control does not use properties.

Examples

Here a line break separates two buttons:
<xp:button value="Submit" id="button2">
	<xp:eventHandler event="onclick" submit="true" refreshMode="complete"
	immediate="false" save="true"></xp:eventHandler>
</xp:button>
<xp:br></xp:br>
<xp:button value="Cancel" id="button3">
	<xp:eventHandler event="onclick" submit="true" refreshMode="complete"
	immediate="true" save="false"></xp:eventHandler>
</xp:button>