---
title: prolog.keywords
description: "## Syntax **prolog.keywords**(keywords) keywords the keyword string ## Purpose Use *prolog.keywords()* to indicate keywords that will appear in the *keywords* of a topic's *prolog*. The *keyword* elements may be used by a search engine. *Example: Keywords* Let us use the…"
url: "https://www.stilo.com/docs/migrate/prolog/prolog-keywords/"
updated: "2021-04-27"
category: Annotations / Prolog
tags:
  - Annotations
---

# prolog.keywords

## Syntax

**prolog.keywords**(keywords)

keywords

the keyword string

## Purpose

Use *prolog.keywords()* to indicate keywords that will appear in the *keywords* of a topic's *prolog*. The *keyword* elements may be used by a search engine.

*Example: Keywords*

Let us use the example of a FrameMaker document that contains Index markers. Instead of creating an index with them, you decide you want to make keywords in the prolog instead.

This is what your rule may look like for this annotation.

[![Prolog.keywords() rule](https://www.stilo.com/wp-content/uploads/2021/03/prolog-keywords-rule.png)](https://www.stilo.com/wp-content/uploads/2021/03/prolog-keywords-rule.png)

This is what your output may look like.

```
<prolog>
  <metadata>
    <keywords>
      <keyword>QuickTrace</keyword>
      <keyword>BirdsEye</keyword>
    </keywords>
  </metadata>
</prolog>
```
