3 ms·
Atom has even three variants of the content model, one where the content is XHTML. As pure text <atom:title atom:type="text">E = mc²</atom:title> As entity
by ttepasse 2y ago
Atom has even three variants of the content model, one where the content is XHTML.
As pure text
<atom:title atom:type="text">E = mc²</atom:title>
As entity-encoded “HTML”:
<atom:title atom:type="html>E = mc<sup>2</sup></atom:title>
Or as directly embedded XHTML:
<atom:title atom:type="xhtml>
<div xmlns="http://www.w3.org/1999/xhtml">
<var>E</var> = <var>m</var><var>c</var><sup>2</sup>
</div>
<atom:title>
(The superfluous div element seems to be a result of a compromise for the early 2000s web environment, afair.)