Adding Metadata to the <Head> Tag

For online outputs, you can add custom metadata in the Advanced tab of the Target Editor. This markup is added between the <head> and </head> tags in your content when you generate output. As an alternative, you can use Flare's meta tag feature (see Meta Tags), which lets you set meta tags on more files than just targets. The difference is that this option in the Target Editor lets you add more than just meta tags to your <head> tag.

There is a default meta tag provided. You can keep this tag, remove it, and/or add other valid tags.

Example You might want to enhance search engine optimization for your output, so you add the following tag to the target: <meta name="googlebot"/>

How to Add Metadata to the <Head> Tag

  1. Open an online target.
  2. On the Advanced tab of the Target Editor, select Add content to head.
  3. In the area below, you can add any valid meta tags. You can also keep the default tag.

    Note If you want to insert a variable in a field, you can click Insert Variable button. The variable will appear as syntax in the field, but in the output the variable definition will be shown.

    default tag for most output formats

    For most output formats, the default tag is as follows:

    <meta http-equiv="Content-Security-Policy" content="default-src 'self'">

    This tag adds a content security policy (CSP) reference to your topics in the output. CSP can reduce security risks on modern browsers.

    default tag for html help

    For Microsoft HTML Help targets, the default tag looks like this:

    <meta http-equiv="X-UA-Compatible" content="IE=7" />

    This tag tells Internet Explorer to render with the latest version.

  4. Click Save the active file. to save your work.