<title>
Summary
The <title>
element is an immutable text string. Designed to provide guidance for users but bound to <section>
by document type, 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> <section-ref> <compareto> |
HTML equivalent | <h1> to <h6> |
OpenXML equivalent |
Attributes
No attributes.
Examples
Example #1
Following is a section with a title.
<section id="metadata" fragmenttype="coredata"> <title>Metadata</title> <properties-fragment type="coredata" id="1"> ... </properties-fragment> </section>
Schema
XML Schema
<xs:element name="title" type="xs:string"/>
Relax Schema
element title { text }
Compatibility
This element was introduced in the first draft of PSML and is well-supported from PageSeeder 5.1.