---
title: "Element <title>"
source: https://dev.pageseeder.com/psml/elements/element-title.html
description: "PSML Element reference for <title>"
last_updated: 2026-08-07T17:09:54+10:00
tokens: ~308
---

# \<title\>

## Summary

The `<title>` element is an immutable text string. Designed to provide guidance for users but bound to `<section>` by [document type](../../reference/glossary/document_type.md), they are stable enough to code against. 

If display of the `<title>` content to users is not required, use the `@title` attribute on the `<section>` instead.

## Usage context

| Element category | structure |
| --- | --- |
| PSML level | portable |
| Permitted content | text |
| Permitted parent | [\<section\>](element-section.md) [\<section-ref\>](element-section-ref.md) [\<compareto\>](element-compareto.md) |
| HTML equivalent | `<h1>` to `<h6>` |
| OpenXML equivalent |  |

## Attributes

No attributes.

## Examples

### Example #1

Following is a section with a title.

```lang-xml

<section id="metadata" fragmenttype="coredata">
  <title>Metadata</title>
  <properties-fragment type="coredata" id="1">
    ...
  </properties-fragment>
</section>
```

## Schema

### XML Schema

```lang-xml
<xs:element name="title" type="xs:string"/>
```

### Relax Schema

```lang-relax

element title { text }
```

## Compatibility

This element was introduced in the first draft of PSML and is well-supported from PageSeeder 5.1.

