共用方式為


br element 

Specifies that a line break should occur at the specified location in the rendered content.

Element Information

Element type: xsd:complexType

Namespace: https://schemas.microsoft.com/sideshow/2006/scf

Schema name: Simple Content Format

Elements and Attributes

Parent Elements

content element

item element

txt element

Child Elements

None.

Attributes

None.

Remarks

A br element can also be nested within other elements. For example, the point where a br element has been inserted, may itself be within a content element, within an item element (interspersed with the text that constitutes a menu item), or within a txt element.

Usage Example

The following code example adds space after each line of text in a media player menu.

<body>
    <content id="200" title="Now Playing" bg="50" bgfit="s" menuid="1000">
        <txt align="c" wrap="0"><em>Song Title</em></txt>
        <br/>
        <txt align="c" wrap="0">Song Artist</txt>
        <br/>
        <txt align="c" wrap="0">00:00:00</txt>
        <br/>
        <img align="l" id="16" alt="[Album Cover]" />
    </content>
</body>

Schema Definition

The following schema defines the br element as a complex type.

<xsd:element name="br">
    <xsd:complexType />
</xsd:element>

See Also

Concepts

content element
item element
txt element