XML Named Entities

In XHTML and other XML languages, the quote, ampersand, apostrophe, less-than, and greater-than symbols must always be escaped in the content and metadata of the document.

Decimal

Entity

Symbol

Description

"

"

"

Quotation mark

'

'

'

Apostrophe

&

&

&

Ampersand

<

<

<

Less-than

&#062;

&gt;

>

Greater-than

Get HTML5 Pocket Reference, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.