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

Файл языка разметки гипертекста (HTML) используется на веб-сайте ArcGIS Online для настройки ваших ресурсов и данных. На этой странице представлен HTML-код, принятый очистителями данных HTML.

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 должен быть определен в атрибуте стиля.

Свойства фона

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

Свойства

background

background-color

background-position

background-attachment

background-image

background-repeat

background-clip

background-origin

background-size

Свойства рамки

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

Свойства

border

border-image-repeat

border-right-style

border-bottom

border-image-slice

border-right-width

border-bottom-color

border-image-source

border-spacing

border-bottom-left-radius

border-image-width

border-style

border-bottom-right-radius

border-left

border-top

border-bottom-style

border-left-color

border-top-color

border-bottom-width

border-left-style

border-top-left-radius

border-collapse

border-left-width

border-top-right-radius

border-color

border-radius

border-top-style

border-image

border-right

border-top-width

border-image-outset

border-right-color

border-width

Свойства блока

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

Свойства

box-decoration-break

box-sizing

box-suppress

box-shadow

box-snap

Свойства перерыва

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

Свойства

break-after

break-before

break-inside

Свойства отображения

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

Свойства

display

display-inside

display-list

display-outside

Свойства Flex

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

Свойства

flex

flex-direction

flex-grow

flex-wrap

flex-basis

flex-flow

flex-shrink

Свойства шрифта

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

Свойства

font

font-size-adjust

font-variant-caps

font-family

font-stretch

font-variant-east-asian

font-feature-settings

font-style

font-variant-ligatures

font-kerning

font-synthesis

font-variant-numeric

font-language-override

font-variant

font-variant-position

font-size

font-variant-alternates

font-weight

Свойства сетки

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

Свойства

grid

grid-column

grid-row-start

grid-area

grid-column-end

grid-template

grid-auto-columns

grid-column-start

grid-template-areas

grid-auto-flow

grid-row

grid-template-columns

grid-auto-rows

grid-row-end

grid-template-rows

Свойства выравнивания

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

Свойства

justify-content

justify-items

justify-self

Свойства списка

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

Свойства

list-style

list-style-image

list-style-position

list-style-type

Свойства поля

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

Свойства

margin

margin-left

margin-top

margin-bottom

margin-right

Свойства отступов

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

Свойства

padding

padding-left

padding-top

padding-bottom

padding-right

Свойства текста

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

Свойства

text-align

text-emphasis-style

text-align-last

text-height

text-combine-upright

text-indent

text-decoration

text-justify

text-decoration-color

text-orientation

text-decoration-line

text-overflow

text-decoration-skip

text-shadow

text-decoration-style

text-space-collapse

text-emphasis

text-transform

text-emphasis-color

text-underline-position

text-emphasis-position

text-wrap

Свойства слов

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

Свойства

word-break

word-spacing

word-wrap

Прочие свойства

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

Свойства

align-items

gap

max-width

align-self

height

min-height

clear

letter-spacing

min-width

color

lighting-color

overflow

color-interpolation-filters

line-height

width

float

max-height