2019.2

Table Of Contents
l
The Web context is created and one Web page or section is added to it. You can see this
on the Resources pane: expand the Contexts folder, and then expand the Web folder.
See "Web pages" on the next page to learn how to fill a web page template in the
Designer.
Although only one web page can be generated per record when generating Web output,
the Web context can contain multiple sections. One section is created at the start, but you
can add more; see "Adding a Web page" on the next page and "Importing a Web page"
on page548.
l A style sheet, named context_web_styles.css, is added to the template. If a Template
Wizard was used to create the template, Foundation style sheets are added as well. Style
sheets are located in the folder Stylesheets on the Resources pane. These style sheets
are meant to be used for styles that are only applied to elements in the Web context; see
"Styling and formatting" on page741.
Generating Web output
When the template is ready, you can:
l Output the web page as an as an integral HTML file attached to an Email context in the
same template.
l Output the Web context in an automated Workflow using the Create Web Content task
(see Workflow Help: Create Web Content).
See "Generating Web output" on page1448.
Includes
The Web context outputs one HTML web page. In addition to the HTML text it contains either
the resources or references to the resources necessary to display it.
JavaScript files are added to the <head> in the generated HTML file. JavaScript toolboxes like
jQuery and its plugins, or MooTools, are useful when you want to implement special features in
the web page. (See "Using JavaScript" on page564.)
Style sheets are also added to the <head> and are used just as they would be used in a regular
web page. (Also see: "Styling templates with CSS files" on page743.)
Which style sheets and JavaScript files are included, and in which order, can be decided for the
Web context as a whole, as well as per Web section.
To make this setting for the Web context as a whole, right-click the context on the Resources
pane and select Includes. Alternatively, select Context > Includes on the main menu. (Note
Page 546