Поддерживаемый HTML

Вы можете использовать HTML на веб-сайте ArcGIS Online, когда добавляется редактор форматированного текста, например, страницы элемента, описания групп, всплывающие окна карты и настраиваемые приложения.

HTML-теги и атрибуты

Ниже приведена таблица поддерживаемых HTML-тегов и атрибутов, которые вы можете использовать.

ТегАтрибут

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

Необходимо учитывать следующее:

  • Теги HTML, не перечисленные в таблице выше, не поддерживаются и будут отфильтрованы.
  • Разрешенными протоколами для href и src являютсяhttps, tel и mailto.
  • Теги закрываются автоматически, если они не закрыты.
  • <>&"s извлекаются из разрешенных тегов, если они не извлечены с использованием &lt;&gt;&amp;&quot.
  • Ссылки типа UNC не поддерживаются.
  • Если используется тег a, целевой URL href всегда открывается в новой вкладке браузера.

Свойства CSS

Ниже приведена таблица поддерживаемых свойств CSS.

Примечание:

ArcGIS Online поддерживает только встраиваемый CSS. CSS должен быть определен в атрибуте стиля.

Свойства CSS

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