<content>

Specifies the first page to load when the app starts.

Syntax:

<content src="string" />

Description:

The <content> element specifies the first page the HTML5 app displays when it runs. The start page can contain the web address of a file that is located outside of the application archive.

Occurrences:

One.

Parent elements:

<widget>

Child elements:

None.

Content:

None.

Attributes:

You can define the following attributes for this element:

Attribute

Description

src

Required. The src attribute specifies the source HTML file in the application archive.

Example:

The following example shows how to specify a start page called startpage.html.

<content src="index.html" />