Contents

section

Combines elements and acts as a single element.

Overview

The section element groups elements together so they can be treated as a single element for layout purposes. Here’s an example that uses a section to hold two movie lockup elements and places them in a shelf element.

<shelf>
    <header>
        <title>Viewers Also Watched</title>
    </header>
    <section>
        <lockup>
            <img src="path to images on your server/Car_Movie_250x375_A.png" width="150" height="226" />
            <title>Turn</title>
        </lockup>
        <lockup>
            <img src="path to images on your server/Car_Movie_250x375_B.png" width="150" height="226" />
            <title>Road</title>
        </lockup>
    </section>
</shelf>

Subelements of section

Elements that Use section

Topics

Valid TVML Styles

Valid TVML Attributes

See Also

Container Elements