Atom 1.0
<title>
The human-readable name of a feed or entry, carrying a type attribute that says how to interpret its content.
Atom titles are text constructs: the optional type attribute is text, html or xhtml, and it changes what the content means. type="html" says the content is escaped HTML; type="xhtml" says it contains a real XHTML <div> as a child element rather than text.
Getting that wrong is how markup ends up displayed as tags, or tags end up displayed as markup. Omit the attribute and it defaults to text, which is the safe answer.
- Format
- Atom 1.0
- Namespace
- Atom Syndication Format 1.0
- How many
- Exactly one per <feed> and per <entry>.
What our validator does
Presence and non-emptiness are checked on the feed and on every entry; the type attribute is not interpreted.
Broken and fixed
Both documents below are well-formed XML — that is the point of this corpus — and both are run through the validator on every test run. The verdicts here are what it returned, not what we expect it to.
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>urn:uuid:60a76c80-d399-11d9-b93c-0003939e0af6</id>
<updated>2026-08-10T09:00:00Z</updated>
<author><name>Ada Lovelace</name></author>
<entry>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<title>Hen lays egg</title>
<updated>2026-08-10T09:00:00Z</updated>
</entry>
</feed><feed> is missing the required <title>. RFC 4287 requires all three.<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>urn:uuid:60a76c80-d399-11d9-b93c-0003939e0af6</id>
<title>Example</title>
<updated>2026-08-10T09:00:00Z</updated>
<link rel="self" href="https://example.com/feed.xml"/>
<author><name>Ada Lovelace</name></author>
<entry>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<title>Hen lays egg</title>
<updated>2026-08-10T09:00:00Z</updated>
</entry>
</feed>Where it reaches
- DatatypesenumerationThe facet behind a fixed list like text | html | xhtml.
- NamespacesXHTMLThe namespace a type="xhtml" title's <div> belongs to.
Related elements
- <feed>The root element of an Atom document, and the one place the specification names three children as required rather than recommended.
- <summary>A short description of an entry — optional most of the time, and required exactly when the content is remote or not text.
- <title>The name of the feed, or of an item. Required on the channel; on an item, required only if there is no description.
Get started
Bring order to the XML your team can't afford to ignore.
Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.