受支持的 HTML

当项目页面、群组描述、地图弹出窗口以及可配置应用程序中包含富文本编辑器时,可在 ArcGIS Online 网站中使用 HTML。

HTML 标签和属性

下表列出了您可使用的受支持 HTML 标签和属性。

标记属性

a

hrefstyle

img

srcwidthheightborderaltstyle

video

autoplaycontrolsheightloopmutedposterpreloadwidth

audio

autoplaycontrolsloopmutedpreload

source

mediasrctype

span

style

table

widthheightcellpaddingcellspacingborderstyle

div

stylealign

font

sizecolorstyle

figure

style

figcaption

style

dddldt

style

h1h2h3h4h5h6

style

tr

heightvalignalignstyle

tdth

heightwidthvalignaligncolspanrowspannowrapstyle

p

style

bstrongiemuulollitbodybrhr

abbr

title

sub

style

sup

style

HTML 注意事项

请记住以下几点:

  • 不支持上表中未列出的 HTML 标签,并且会将其滤出。
  • hrefsrc 允许的协议包括 httpstelmailto
  • 未关闭的标签将自动关闭。
  • 如果未使用 &lt;&gt;&amp;&quot<>&s 进行转义,则其将在合法标签外部进行转义。
  • 不支持 UNC 链接。
  • 当使用 a 标签时,href 目标 URL 始终在新的浏览器选项卡中打开。