---
title: "Content labels"
source: https://dev.pageseeder.com/reference/glossary/content_labels.html
description: "Content labels are PageSeeder document formatting elements that include block and inline types. They function like paragraph and character styles, become visible during editing, and convert to PDF/DOCX styles or HTML div/span elements upon publishing."
last_updated: 2026-09-05T15:41:44+10:00
tokens: ~358
---

# Content labels

Content labels are a class of label used to describe information inside [PageSeeder documents](/reference/glossary/document.md). The two types of content labels: **[block label](/reference/glossary/block_label.md)** and **[inline label](/reference/glossary/inline_label.md)** are analogous to the idea of paragraph and character styles in publishing or word processing systems, or to the [HTML](/reference/glossary/html.md) elements of `<div>` and `<span>`.

Content labels become visible to the user while editing. When PageSeeder documents are published, the labels are automatically translated for output as styles in [PDF](/reference/glossary/pdf_documents.md) and [DOCX](/reference/glossary/word_docx_format.md) or `<div>` and `<span>` elements in HTML.

When saved as XML, content labels are expressed as:

```xml
<block label="XXXX">content</block> 
<inline label="XXXX">content</inline>
```

where `XXXX` is the name of the label.

Inline labels are also automatically indexed and can be selected through the search facets.

The other class of PageSeeder labels are [object labels](/reference/glossary/object_labels.md), that are attached to PageSeeder artifacts such as [documents](/reference/glossary/document.md), [sections](/reference/glossary/section.md), [comments](/reference/glossary/comment.md), [tasks](/reference/glossary/task.md) or [cross-references](/reference/glossary/cross_reference.md).

