---
title: prolog.meta.category
description: "## Syntax **prolog.meta.category**(category) category name of category being applied ## Purpose The category element represents any category that can be used to classify a topic for navigation or retrieval. Topics may belong to multiple categories. You may apply multiple categories…"
url: "https://www.stilo.com/docs/migrate/prolog/prolog-meta-category/"
updated: "2021-04-27"
category: Annotations / Prolog
tags:
  - Annotations
---

# prolog.meta.category

## Syntax

**prolog.meta.category**(category)

category

name of category being applied

## Purpose

The category element represents any category that can be used to classify a topic for navigation or retrieval. Topics may belong to multiple categories. You may apply multiple categories to a topic, but each must use a separate instance of the annotation.

As an example, you may want to apply the categories "How To" and "Task" to all level 1 task topics. Here is how your rule may look:

[![Rule for prolog.meta.category()](https://www.stilo.com/wp-content/uploads/2021/03/prolog-meta-category-rule.png)](https://www.stilo.com/wp-content/uploads/2021/03/prolog-meta-category-rule.png)

Here is the output you would get from the rule above using our sample document.

```
<task id="ID-4884-00000306">
  <title>Installing</title>
  <prolog>
    <metadata>
      <category>How To</category>
      <category>Task</category>
    </metadata>
  </prolog>
```
