---
title: "Block label"
source: https://dev.pageseeder.com/reference/glossary/block_label.html
description: "Block labels in PSML associate semantics to text blocks using the `<block label=\"XXXX\">` syntax. They differ from inline labels, which add semantics to individual text strings instead of blocks."
last_updated: 2026-09-05T17:32:54+10:00
tokens: ~107
---

# Block label

In [PSML](psml.md), a block label associates semantics to a block of text.

When saved as PSML, they are expressed as:

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

where `XXXX` is the name of the label. For more detailed information, *see* [element \<block\>](../../psml/elements/element_block.md).

Adding semantics to a text string, as opposed to a block is done with an [inline label](inline_label.md).

