You can use HTML in the ArcGIS Online website when a rich text editor is included, such as in item pages, group descriptions, map pop-ups, and configurable apps.
HTML tags and attributes
Below is a table of the supported HTML tags and attributes you can use.
Tag | Attribute |
---|---|
a | href, style |
abbr | title |
article | style |
aside | style |
audio | autoplay, controls, loop, muted, preload |
b, strong, i, em, u, ul, ol, li, tbody, br, hr | |
blockquote | style |
code | style |
dd, dl, dt | style |
del | style |
details | style, open |
div | style, align, aria-label, aria-hidden |
figcaption | style |
figure | style |
font | size, color, style |
footer | style |
h1, h2, h3, h4, h5, h6 | style |
header | style |
img | src, width, height, border, alt, style |
main | style |
mark | style |
nav | style |
p | style |
pre | style |
section | style |
source | media, src, type |
span | style, aria-label, aria-hidden |
sub | style |
summary | style |
sup | style |
table | width, height, cellpadding, cellspacing, border, style |
td, th | height, width, valign, align, colspan, rowspan, nowrap, style |
time | style |
tr | height, valign, align, style |
video | autoplay, controls, height, loop, muted, poster, preload, width |
HTML considerations
Keep the following in mind:
- HTML tags not listed in the table above are not supported and will be filtered out.
- Allowed protocols for href and src are https, tel, and mailto.
- Tags are automatically closed if not closed.
- <>&"s are escaped outside of legal tags if not escaped using <>&".
- UNC links are not supported.
- When an a tag is used, the href target URL always opens in a new browser tab.