arcgis-html-css
ArcGIS HTML and CSS
ArcGIS Online sanitizes authored markup. Valid browser HTML and CSS can still be removed or changed when saved, and the two supported editors do not share one compatibility contract. Select the constrained-markup profile before writing.
Identify the profile first
Ask when the target is not explicit. Never guess between:
- Hub text card — the HTML source editor in an ArcGIS Online Hub text card. Read references/hub-text-card.md.
- Map Viewer popup — the HTML/CSS editor for text content in an ArcGIS Online Map Viewer popup. Read references/map-viewer-popup.md.
Do not apply these profiles to ArcGIS Enterprise Sites, Experience Builder, embeds, iframes, standalone web pages, or ArcGIS Maps SDK for JavaScript applications.
Popup Arcade is a separate authoring environment. Do not generate or combine Arcade when the requested output is popup HTML/CSS.
Produce a fragment
Return markup that can be pasted directly into the selected editor. Do not emit <html>, <head>, external stylesheets, build tooling, JavaScript, or a standalone application.