|
Use the ui:head tag to provide information about the
document, to be used in the <head> element of the
rendered HTML page. The ui:head tag must be placed immediately after
the ui:html tag, within the ui:page tag.
The following tags can be
used as children of the ui:head tag:
HTML Elements and Layout
The <head>
element is rendered in the HTML page, and can include information that
is valid for inclusion in the HTML <head> element.
For example, if you use the ui:link tag in the ui:head
tag, you can provide the URL to a style sheet. The style sheet
link will be rendered as a <link> element in
the <head> element of the HTML page. In
addition this tag will output the appropriate stylesheets for the
included components on the page.
The
browser does not display the information in the <head>
element to the user, with the exception of the title that is used in
the browser's title bar.
Client Side Javascript Functions
None.
Example
Example 1: Create a head tag
<ui:page>
<ui:html>
<ui:head
title="Name of the
page..title is required">
<ui:link url="/relativepath/x.css" />
<ui:script url="/relativepath/x.js" />
</ui:head>
<ui:body>
....your
page content....
</ui:body>
</ui:html>
</ui:page>
Auto-generated component class.
Do NOT modify; all changes
will be lost!
|