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

# \<displaytitle\>

## Summary

The `<displaytitle>` element is used for the computed title that is displayed for a [URI](../../reference/glossary/uri.md).

This element is [informational](../universal_format/psml_upload.md) (ignored by upload) as it is generated from attributes of its parent element.

## Usage context

| Element category | metadata |
| --- | --- |
| PSML level | metadata |
| Permitted content | text |
| Permitted parent | `<uri>` |
| HTML equivalent | \<title\> |
| OpenXML equivalent |  |

## Attributes

This element does not have any attributes.

## Examples

####  Manual title

Display title of a document inside a `<uri>` element corresponding to the title of the document entered by the user.

```lang-xml

<uri title="Alice in Wonderland" ... >
  <displaytitle>Alice in Wonderland</displaytitle>
  <description>Alice's Adventures in Wonderland is an
    1865 novel written by English author Charles Lutwidge
    Dodgson under the pseudonym Lewis Carroll
  </description>
</uri>
```

####  Title from filename

In the absence of a title supplied by the user (in `@title` attribute), the display title of a document inside a `<uri>` element corresponds to the filename except if `@external=true` in which case it is the full URL.

```lang-xml
<uri path="/ps/library/novel/alice_in_wonderland.psml" ... >
  <displaytitle>alice_in_wonderland.psml</displaytitle>
  <description>Alice's Adventures in Wonderland is an
    1865 novel written by English author Charles Lutwidge
    Dodgson under the pseudonym Lewis Carroll
  </description>
</uri>
```

## Schema

### XML Schema

```lang-xml

<xs:element name="displaytitle" type="xs:string"/>
```

### Relax Schema

```lang-relax

element displaytitle {
  text
}
```

## Compatibility

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

