---
title: "Labels"
source: https://dev.pageseeder.com/reference/glossary/labels.html
description: "Labels are PageSeeder's mechanism for adding semantics to artifacts, divided into object labels (documents, fragments) and content labels (inline, block text). They support various types including document, fragment, comment, upload, creation, version, and cross-reference labels."
last_updated: 2026-09-08T11:44:53+10:00
tokens: ~460
---

# Labels

Labels are a convenient mechanism for adding semantics to PageSeeder artifacts. They are divided in two broad categories:

- [object labels](/reference/glossary/object_labels.md) – apply to PageSeeder objects such as [documents](/reference/glossary/document.md), [fragments](/reference/glossary/fragment.md), etc.
- [content labels](/reference/glossary/content_labels.md) – apply to text content inside PageSeeder documents.

The following table summarizes the different types of labels used in PageSeeder:

| Type | Label | Applies to |
| --- | --- | --- |
| Content   | [Inline label](/reference/glossary/inline_label.md) | Inline content inside a block of text (equivalent to a `<SPAN>` in HTML) |
| [Block label](/reference/glossary/block_label.md) | Blocks of text (equivalent to a `<DIV>` in HTML) |
| Object   | [Document label](/reference/glossary/document_label.md) | A PageSeeder document |
| [Fragment label](/reference/glossary/fragment_label.md) | A document fragment |
| Comment label | A [comment](/reference/glossary/comment.md) or [task](/reference/glossary/task.md) or [workflow](/reference/glossary/workflow.md) |
| Upload label | A document on upload |
| Creation label | A document when it is created |
| Version label | A specific [version](/reference/glossary/version.md) of a document |
| [Edit note label](/reference/glossary/edit_note_label.md) | A note on a document edit |
| [Cross-reference (xref) label](/reference/glossary/cross_reference_label.md) | A [cross-reference](/reference/glossary/cross_reference.md) |

Label names can contain the following characters:  
`[a-z][A-Z][0-9][-_]`

For further information regarding allowable values for PageSeeder objects, *see* [datatypes](/psml/datatypes/pageseeder_datatypes.md) and [label config](/reference/folders_and_files/project_template/label.md).

