Supported HTML

You can use HTML in the ArcGIS Online website anywhere it can be stored and accessed. You can also use HTML 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.

TagAttribute

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 &lt;&gt;&amp;&quot.
  • UNC links are not supported.
  • When an a tag is used, the href target URL always opens in a new browser tab.

CSS Properties

Below is a table of the supported CSS properties.

Note:

ArcGIS Online only supports inline CSS. The CSS must be defined within the style attribute.

CSS Properties

align-items

break-inside

justify-content

align-self

clear

justify-items

background

color

justify-self

background-attachment

color-interpolation-filters

letter-spacing

background-clip

display

lighting-color

background-color

display-inside

line-height

background-image

display-list

list-style

background-origin

display-outside

list-style-image

background-position

flex

list-style-position

background-repeat

flex-basis

list-style-type

background-size

flex-direction

margin

border

flex-flow

margin-bottom

border-bottom

flex-grow

margin-left

border-bottom-color

flex-shrink

margin-right

border-bottom-left-radius

flex-wrap

margin-top

border-bottom-right-radius

float

max-height

border-bottom-style

font

max-width

border-bottom-width

font-family

min-height

border-collapse

font-feature-settings

min-width

border-color

font-kerning

overflow

border-image

font-language-override

padding

border-image-outset

font-size

padding-bottom

border-image-repeat

font-size-adjust

padding-left

border-image-slice

font-stretch

padding-right

border-image-source

font-style

padding-top

border-image-width

font-synthesis

text-align

border-left

font-variant

text-align-last

border-left-color

font-variant-alternates

text-combine-upright

border-left-style

font-variant-caps

text-decoration

border-left-width

font-variant-east-asian

text-decoration-color

border-radius

font-variant-ligatures

text-decoration-line

border-right

font-variant-numeric

text-decoration-skip

border-right-color

font-variant-position

text-decoration-style

border-right-style

font-weight

text-emphasis

border-right-width

gap

text-emphasis-color

border-spacing

grid

text-emphasis-position

border-style

grid-area

text-emphasis-style

border-top

grid-auto-columns

text-height

border-top-color

grid-auto-flow

text-indent

border-top-left-radius

grid-auto-rows

text-justify

border-top-right-radius

grid-column

text-orientation

border-top-style

grid-column-end

text-overflow

border-top-width

grid-column-start

text-shadow

border-width

grid-row

text-space-collapse

box-decoration-break

grid-row-end

text-transform

box-shadow

grid-row-start

text-underline-position

box-sizing

grid-template

text-wrap

box-snap

grid-template-areas

width

box-suppress

grid-template-columns

word-break

break-after

grid-template-rows

word-spacing

break-before

height

word-wrap