Semantics
One or more superscripted characters.
Additional info from the ARIA specification
See related subscript.
The superscript role is intended to be used only to mark up typographical conventions that have specific meanings; not for typographical presentation for presentation's sake. In general, authors SHOULD use this role only if the absence of the superscript would change the meaning of the content.
Abstract Role
StructureRepresents a non-interactive part of a page that organizes content into coherent units.
Content Categories
Phrasing ContentAn element that typically appears inline and provides semantic meaning to text content.
Allowed Descendants
Phrasing Children Allowed
Usage
Allowed HTML elements
Implicit semantics
These elements have the role semantics by default, without needing to set the role attribute. Reach for elements with native semantics first when choosing how to implement a role in your content.
sup
Explicitly allowed
- None
Elements that can have any role
abbr[role=superscript]address[role=superscript]b[role=superscript]blockquote[role=superscript]canvas[role=superscript]cite[role=superscript]code[role=superscript]custom-element[role=superscript]data[role=superscript]del[role=superscript]dfn[role=superscript]div[role=superscript]em[role=superscript]figure[role=superscript]i[role=superscript]ins[role=superscript]kbd[role=superscript]mark[role=superscript]output[role=superscript]p[role=superscript]pre[role=superscript]q[role=superscript]samp[role=superscript]small[role=superscript]span[role=superscript]table[role=superscript]tbody[role=superscript]tfoot[role=superscript]thead[role=superscript]time[role=superscript]u[role=superscript]var[role=superscript]