2019.2

Table Of Contents
Setting the title, meta data and a shortcut icon
Each Web section has a set of properties to define the title of the web page, the shortcut icon
and the meta tags appearing in the web page's head (with the HTML tag: <head>, see
https://www.w3schools.com/tags/tag_head.asp).
To change these properties:
1.
On the Resources pane, expand the Web context, right-click the section and click
Properties.
2.
Enter the Page Title. The contents of this field will go in the <title> HTML tag. (Name is
the name of the section in the Web context; this has no effect on output.)
3.
Add a Shortcut Icon by entering the path to the favicon.ico file, for instance
images/favicon.ico.
Tip
If a valid favicon image is dragged to the Web section, it will automatically be set as
a shortcut icon.
4.
The Meta Information Group lists all <meta> tags that will be added to the header of the
HTML file generated in the output. Click the Add button to add a new <meta> tag to the
list. Then you can select the type of <meta> tag, which is either name or http-equiv, and
enter the value (for a name-type meta tag) or the content. For more information on <meta>
tags, see W3Schools - HTML meta tag.
Adding information to the <head> via a script
When generating Web output, the Designer automatically adds the included resources to the
<head>. To add other tags to the <head>, such as a <base> tag to set a default base
URL/target for all relative URLs in a document, you need to write a script. If you are not familiar
with scripts, see "Writing your own scripts" on page853 for an explanation of how scripts work.
1.
Create a script: on the Scripts pane at the bottom left, click New. A new script appears in
the list. Double-click on it to open it.
Page 552