2022.1

Table Of Contents
Web
With the Designer you can create one or more Web templates and merge the template with a
data set to generate personal web pages.
The Web context is the Web output channel and the folder in the Designer that can contain one
or more Web templates. Capture OnTheGo templates are Web templates designed for the
Capture OnTheGo app (see "Capture OnTheGo" on page602). They are stored in the Web
folder as well.
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597.)
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786.)
It is advisable to follow design guidelines for web pages, so that they are likely to look good in
different browsers and on different devices and screen sizes. When you start with a Foundation
or COTG Web Template Wizard, the Foundation framework is added to the template, to
guarantee just that; see "Creating a Web template with a Wizard" on the next page and
"Capture OnTheGo template wizards" on page612.
Tip
You can use the Responsive Design View drop-down at the top of the workspace to see
how your web page looks and behaves with different screen sizes.
When a Web template is created, either with a Wizard or by adding the Web context to an
existing template (see "Adding a context" on page499), the Web context folder is created along
with other files that are specific to a Web context; see "Web Context" on page578.
Many of the content elements that are available for all three contexts are particularly suitable for
web pages; see "Content elements" on page664. Web templates are personalized just like any
other template; see "Variable Data" on page846.
Page 574