HTML pris en charge

Vous pouvez utiliser des balises HTML dans le site Web ArcGIS Online lorsqu’un éditeur de texte enrichi est inclus, par exemple, dans les pages des éléments, les descriptions de groupe, les fenêtres contextuelles des cartes ou les applications configurables.

Balises et attributs HTML

Vous trouverez ci-après un tableau des balises et attributs HTML pris en charge que vous pouvez utiliser.

BaliseAttribut

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

Eléments à prendre en compte pour le langage HTML

Gardez ce qui suit à l’esprit :

  • Les balises HTML qui ne sont pas répertoriées dans le tableau ci-dessus ne sont pas prises en charge et sont éliminées.
  • Les protocoles autorisés pour href et src sont https, tel et mailto.
  • Les balises de fermeture manquantes sont ajoutées automatiquement.
  • Les caractères <>&"s sont désactivés des balises correctes s’ils ne sont pas désactivés comme suit &lt;&gt;&amp;&quot.
  • Les liens UNC ne sont pas pris en charge.
  • Lorsque vous utilisez une balise a, l’URL cible href s’ouvre toujours dans un nouvel onglet de navigateur.

Propriétés CSS

Vous trouverez ci-après une table des propriétés CSS prises en charge.

Remarque :

ArcGIS Online ne prend en charge que le CSS en ligne. Le CSS doit être défini dans l’attribut de style.

Propriétés 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