Complete list of all 41 allowed HTML tags, attribute sanitization rules, CDN image restrictions, and DOM limits for Custom HTML cards.
Your Custom HTML snippet renders inside .fumbled-custom-card on your profile. On save, the server parses and sanitizes the fragment to enforce strict security and performance limits.
Size and DOM limits
Limit
Value
Behavior when exceeded
Maximum HTML size
16 KB (16,384 bytes)
Save is rejected with an error
Maximum DOM depth
16 levels
Elements deeper than 16 levels are removed
Maximum DOM nodes
250 nodes
HTML is truncated after 250 nodes
Allowed HTML tags
Only the 41 semantic, formatting, table, and media tags below are permitted:
The following elements and their entire subtrees are removed on save:<script>, <style>, <iframe>, <object>, <embed>, <svg>, <math>, <template>, <noscript>, <title>, <textarea>, <select>, <form>, <button>, <input>, <base>, <meta>, <link>, <frame>, <frameset>, <applet>, <portal>, <xmp>, <noembed>, <noframes>, <plaintext>, <head>, <body>, <html>, <audio>, <video>, <source>, <track>, <canvas>.Any other unrecognized tag is unwrapped (its inner text/children are kept, without the tag itself).
Attribute rules
Attribute
Allowed on
Sanitization behavior
class
Any allowed tag
Valid tokens ([a-zA-Z0-9_-]{1,64}) are kept; reserved mantine-* classes are removed
id
Any allowed tag
Valid tokens ([a-zA-Z0-9_-]{1,64}) are automatically prefixed with u-
style
—
Removed; write styles in the Custom CSS tab targeting .fumbled-custom-card
on* handlers
—
Removed
title, alt, aria-label
Any allowed tag
Kept when non-empty
open
<details>
Kept as boolean attribute
datetime
<time>
Kept when non-empty
colspan, rowspan
<td>, <th>
Integer values clamped to 1..100
href
<a>
Allows https://, http://, and mailto:. Automatically adds target="_blank" and rel="noopener noreferrer nofollow ugc"
src
<img>
Restricted to relative non-API paths or https:// URLs on cdn.fumbled.lol or fumbled.lol. Automatically adds loading="lazy" and decoding="async"
External image URLs from third-party hosts are stripped from both <img src> and CSS url() to protect visitor IP privacy. Upload images to your fumbled.lol file host first and use the cdn.fumbled.lol or files.fumbled.lol URL.
Last modified on December 2, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"fumbled.lol docs","colors":{"primary":"#9775FA","light":"#B197FC","dark":"#7048e8"},"logo":{"light":"https://mintcdn.com/fumbled/i9BuV5GteiqbT2BR/logos/light.svg?fit=max\u0026auto=format\u0026n=i9BuV5GteiqbT2BR\u0026q=85\u0026s=07c723ffdfa279d38f693124d1be1767","dark":"https://mintcdn.com/fumbled/i9BuV5GteiqbT2BR/logos/dark.svg?fit=max\u0026auto=format\u0026n=i9BuV5GteiqbT2BR\u0026q=85\u0026s=cc2b6a5b464140ee4672da79659a3676","href":"https://fumbled.lol"},"favicon":"https://mintcdn.com/fumbled/dd4n1SxyWPBe6REr/favicon.svg?fit=max\u0026auto=format\u0026n=dd4n1SxyWPBe6REr\u0026q=85\u0026s=72a5255c416a32da4f31d8ae140227a2","appearance":{"default":"dark","strict":true},"navbar":{"links":[{"href":"mailto:support@fumbled.lol","label":"Support"},{"href":"https://fumbled.lol/faq","label":"FAQ"}],"primary":{"type":"button","label":"Dashboard","href":"https://fumbled.lol/dashboard"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fumbled","hasAudioNarration":false,"actualSubdomain":"fumbled","customDomains":["docs.fumbled.lol"],"gitSource":{"type":"github","owner":"fumbledlol","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b10235cba7fdeb7c6dd3711","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"Guides","count":15},{"language":"default","tag":"API reference","count":9},{"language":"default","tag":"Custom CSS \u0026 HTML","count":5},{"language":"default","tag":"Files \u0026 catalogs","count":4},{"language":"default","tag":"Public profile","count":4},{"language":"default","tag":"Profile \u0026 customization","count":4},{"language":"default","tag":"Hosting \u0026 tools","count":3},{"language":"default","tag":"Getting started","count":2},{"language":"default","tag":"API documentation","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"guides/custom-code/html-and-security","slug":"/guides/custom-code/html-and-security","pageMetadata":{"title":"Allowed HTML tags \u0026 security","sidebarTitle":"HTML \u0026 security","description":"Complete list of all 41 allowed HTML tags, attribute sanitization rules, CDN image restrictions, and DOM limits for Custom HTML cards.","keywords":["custom html","allowed tags","sanitizer","cdn.fumbled.lol","dom limits"],"icon":"shield-check","href":"/guides/custom-code/html-and-security"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Complete list of all 41 allowed HTML tags, attribute sanitization rules, CDN image restrictions, and DOM limits for Custom HTML cards.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Your Custom HTML snippet renders inside `,_jsx(_components.code,{children:`.fumbled-custom-card`}),` on your profile. On save, the server parses and sanitizes the fragment to enforce strict security and performance limits.`]}),`\n`,_jsx(Heading,{level:`2`,id:`size-and-dom-limits`,children:`Size and DOM limits`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Limit`}),_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Behavior when exceeded`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Maximum HTML size`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`16 KB`}),` (`,_jsx(_components.code,{children:`16,384`}),` bytes)`]}),_jsx(_components.td,{children:`Save is rejected with an error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Maximum DOM depth`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`16 levels`})}),_jsx(_components.td,{children:`Elements deeper than 16 levels are removed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Maximum DOM nodes`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`250 nodes`})}),_jsx(_components.td,{children:`HTML is truncated after 250 nodes`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`allowed-html-tags`,children:`Allowed HTML tags`}),`\n`,_jsx(_components.p,{children:`Only the 41 semantic, formatting, table, and media tags below are permitted:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Category`}),_jsx(_components.th,{children:`Allowed tags`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Structure \u0026 text`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\u003cdiv>`}),`, `,_jsx(_components.code,{children:`\u003cspan>`}),`, `,_jsx(_components.code,{children:`\u003cp>`}),`, `,_jsx(_components.code,{children:`\u003ch1>`}),`, `,_jsx(_components.code,{children:`\u003ch2>`}),`, `,_jsx(_components.code,{children:`\u003ch3>`}),`, `,_jsx(_components.code,{children:`\u003ch4>`}),`, `,_jsx(_components.code,{children:`\u003ch5>`}),`, `,_jsx(_components.code,{children:`\u003ch6>`}),`, `,_jsx(_components.code,{children:`\u003cbr>`}),`, `,_jsx(_components.code,{children:`\u003chr>`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Inline formatting`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\u003cstrong>`}),`, `,_jsx(_components.code,{children:`\u003cem>`}),`, `,_jsx(_components.code,{children:`\u003cb>`}),`, `,_jsx(_components.code,{children:`\u003ci>`}),`, `,_jsx(_components.code,{children:`\u003cu>`}),`, `,_jsx(_components.code,{children:`\u003cs>`}),`, `,_jsx(_components.code,{children:`\u003ccode>`}),`, `,_jsx(_components.code,{children:`\u003cpre>`}),`, `,_jsx(_components.code,{children:`\u003cblockquote>`}),`, `,_jsx(_components.code,{children:`\u003ckbd>`}),`, `,_jsx(_components.code,{children:`\u003cmark>`}),`, `,_jsx(_components.code,{children:`\u003csup>`}),`, `,_jsx(_components.code,{children:`\u003csub>`}),`, `,_jsx(_components.code,{children:`\u003csmall>`}),`, `,_jsx(_components.code,{children:`\u003ctime>`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Lists`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\u003cul>`}),`, `,_jsx(_components.code,{children:`\u003col>`}),`, `,_jsx(_components.code,{children:`\u003cli>`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Links \u0026 images`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\u003ca>`}),`, `,_jsx(_components.code,{children:`\u003cimg>`}),`, `,_jsx(_components.code,{children:`\u003cfigure>`}),`, `,_jsx(_components.code,{children:`\u003cfigcaption>`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Interactive disclosure`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\u003cdetails>`}),`, `,_jsx(_components.code,{children:`\u003csummary>`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Tables`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\u003ctable>`}),`, `,_jsx(_components.code,{children:`\u003cthead>`}),`, `,_jsx(_components.code,{children:`\u003ctbody>`}),`, `,_jsx(_components.code,{children:`\u003ctr>`}),`, `,_jsx(_components.code,{children:`\u003cth>`}),`, `,_jsx(_components.code,{children:`\u003ctd>`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`stripped-elements`,children:`Stripped elements`}),`\n`,_jsx(_components.p,{children:`The following elements and their entire subtrees are removed on save:`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\u003cscript>`}),`, `,_jsx(_components.code,{children:`\u003cstyle>`}),`, `,_jsx(_components.code,{children:`\u003ciframe>`}),`, `,_jsx(_components.code,{children:`\u003cobject>`}),`, `,_jsx(_components.code,{children:`\u003cembed>`}),`, `,_jsx(_components.code,{children:`\u003csvg>`}),`, `,_jsx(_components.code,{children:`\u003cmath>`}),`, `,_jsx(_components.code,{children:`\u003ctemplate>`}),`, `,_jsx(_components.code,{children:`\u003cnoscript>`}),`, `,_jsx(_components.code,{children:`\u003ctitle>`}),`, `,_jsx(_components.code,{children:`\u003ctextarea>`}),`, `,_jsx(_components.code,{children:`\u003cselect>`}),`, `,_jsx(_components.code,{children:`\u003cform>`}),`, `,_jsx(_components.code,{children:`\u003cbutton>`}),`, `,_jsx(_components.code,{children:`\u003cinput>`}),`, `,_jsx(_components.code,{children:`\u003cbase>`}),`, `,_jsx(_components.code,{children:`\u003cmeta>`}),`, `,_jsx(_components.code,{children:`\u003clink>`}),`, `,_jsx(_components.code,{children:`\u003cframe>`}),`, `,_jsx(_components.code,{children:`\u003cframeset>`}),`, `,_jsx(_components.code,{children:`\u003capplet>`}),`, `,_jsx(_components.code,{children:`\u003cportal>`}),`, `,_jsx(_components.code,{children:`\u003cxmp>`}),`, `,_jsx(_components.code,{children:`\u003cnoembed>`}),`, `,_jsx(_components.code,{children:`\u003cnoframes>`}),`, `,_jsx(_components.code,{children:`\u003cplaintext>`}),`, `,_jsx(_components.code,{children:`\u003chead>`}),`, `,_jsx(_components.code,{children:`\u003cbody>`}),`, `,_jsx(_components.code,{children:`\u003chtml>`}),`, `,_jsx(_components.code,{children:`\u003caudio>`}),`, `,_jsx(_components.code,{children:`\u003cvideo>`}),`, `,_jsx(_components.code,{children:`\u003csource>`}),`, `,_jsx(_components.code,{children:`\u003ctrack>`}),`, `,_jsx(_components.code,{children:`\u003ccanvas>`}),`.`]}),`\n`,_jsx(_components.p,{children:`Any other unrecognized tag is unwrapped (its inner text/children are kept, without the tag itself).`}),`\n`,_jsx(Heading,{level:`2`,id:`attribute-rules`,children:`Attribute rules`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Attribute`}),_jsx(_components.th,{children:`Allowed on`}),_jsx(_components.th,{children:`Sanitization behavior`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`class`})}),_jsx(_components.td,{children:`Any allowed tag`}),_jsxs(_components.td,{children:[`Valid tokens (`,_jsx(_components.code,{children:`[a-zA-Z0-9_-]{1,64}`}),`) are kept; reserved `,_jsx(_components.code,{children:`mantine-*`}),` classes are removed`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`Any allowed tag`}),_jsxs(_components.td,{children:[`Valid tokens (`,_jsx(_components.code,{children:`[a-zA-Z0-9_-]{1,64}`}),`) are automatically prefixed with `,_jsx(_components.code,{children:`u-`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`style`})}),_jsx(_components.td,{children:`—`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Removed`}),`; write styles in the `,_jsx(_components.strong,{children:`Custom CSS`}),` tab targeting `,_jsx(_components.code,{children:`.fumbled-custom-card`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`on*`}),` handlers`]}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Removed`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`title`}),`, `,_jsx(_components.code,{children:`alt`}),`, `,_jsx(_components.code,{children:`aria-label`})]}),_jsx(_components.td,{children:`Any allowed tag`}),_jsx(_components.td,{children:`Kept when non-empty`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`open`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003cdetails>`})}),_jsx(_components.td,{children:`Kept as boolean attribute`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`datetime`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003ctime>`})}),_jsx(_components.td,{children:`Kept when non-empty`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`colspan`}),`, `,_jsx(_components.code,{children:`rowspan`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\u003ctd>`}),`, `,_jsx(_components.code,{children:`\u003cth>`})]}),_jsxs(_components.td,{children:[`Integer values clamped to `,_jsx(_components.code,{children:`1..100`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`href`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003ca>`})}),_jsxs(_components.td,{children:[`Allows `,_jsx(_components.code,{children:`https://`}),`, `,_jsx(_components.code,{children:`http://`}),`, and `,_jsx(_components.code,{children:`mailto:`}),`. Automatically adds `,_jsx(_components.code,{children:`target=\"_blank\"`}),` and `,_jsx(_components.code,{children:`rel=\"noopener noreferrer nofollow ugc\"`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`src`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003cimg>`})}),_jsxs(_components.td,{children:[`Restricted to relative non-API paths or `,_jsx(_components.code,{children:`https://`}),` URLs on `,_jsx(_components.code,{children:`cdn.fumbled.lol`}),` or `,_jsx(_components.code,{children:`fumbled.lol`}),`. Automatically adds `,_jsx(_components.code,{children:`loading=\"lazy\"`}),` and `,_jsx(_components.code,{children:`decoding=\"async\"`})]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`External image URLs from third-party hosts are stripped from both `,_jsx(_components.code,{children:`\u003cimg src>`}),` and CSS `,_jsx(_components.code,{children:`url()`}),` to protect visitor IP privacy. Upload images to your fumbled.lol file host first and use the `,_jsx(_components.code,{children:`cdn.fumbled.lol`}),` or `,_jsx(_components.code,{children:`files.fumbled.lol`}),` URL.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Allowed HTML tags \u0026 security","sidebarTitle":"HTML \u0026 security","description":"Complete list of all 41 allowed HTML tags, attribute sanitization rules, CDN image restrictions, and DOM limits for Custom HTML cards.","keywords":["custom html","allowed tags","sanitizer","cdn.fumbled.lol","dom limits"],"icon":"shield-check","href":"/guides/custom-code/html-and-security"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Size and DOM limits","slug":"size-and-dom-limits","depth":2,"children":[]},{"title":"Allowed HTML tags","slug":"allowed-html-tags","depth":2,"children":[{"title":"Stripped elements","slug":"stripped-elements","depth":3,"children":[]}]},{"title":"Attribute rules","slug":"attribute-rules","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"fumbled","siteName":"fumbled.lol docs","title":"Allowed HTML tags \u0026 security - fumbled.lol docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T13:19:32.883Z","gitLastModified":"2026-12-02T13:19:26.000Z","originalFileLocation":"guides/custom-code/html-and-security.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Complete list of all 41 allowed HTML tags, attribute sanitization rules, CDN image restrictions, and DOM limits for Custom HTML cards.\">\u003cmeta data-mint-head name=\"application-name\" content=\"fumbled.lol docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fumbled/p5wGZIqvvEihfUbb/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/fumbled/p5wGZIqvvEihfUbb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fumbled/p5wGZIqvvEihfUbb/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fumbled/p5wGZIqvvEihfUbb/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fumbled/p5wGZIqvvEihfUbb/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fumbled/p5wGZIqvvEihfUbb/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fumbled/p5wGZIqvvEihfUbb/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fumbled/p5wGZIqvvEihfUbb/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fumbled/p5wGZIqvvEihfUbb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Allowed HTML tags \u0026amp; security - fumbled.lol docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Complete list of all 41 allowed HTML tags, attribute sanitization rules, CDN image restrictions, and DOM limits for Custom HTML cards.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"fumbled.lol docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fumbled.lol/guides/custom-code/html-and-security\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fumbled.mintlify.site/_mintlify/api/og/v2?division=Custom+CSS+%26+HTML\u0026amp;title=Allowed+HTML+tags+%26+security\u0026amp;description=Complete+list+of+all+41+allowed+HTML+tags%2C+attribute+sanitization+rules%2C+CDN+image+restrictions%2C+and+DOM+limits+for+Custom+HTML+cards.\u0026amp;theme=940a2da4cfc55f469be11a3a\u0026amp;signature=4e9e9e57502321a6a7ec62aecba910c8036a7bd17cf3184a7b13ed9aa3f1c565\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Allowed HTML tags \u0026amp; security - fumbled.lol docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Complete list of all 41 allowed HTML tags, attribute sanitization rules, CDN image restrictions, and DOM limits for Custom HTML cards.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fumbled.mintlify.site/_mintlify/api/og/v2?division=Custom+CSS+%26+HTML\u0026amp;title=Allowed+HTML+tags+%26+security\u0026amp;description=Complete+list+of+all+41+allowed+HTML+tags%2C+attribute+sanitization+rules%2C+CDN+image+restrictions%2C+and+DOM+limits+for+Custom+HTML+cards.\u0026amp;theme=940a2da4cfc55f469be11a3a\u0026amp;signature=4e9e9e57502321a6a7ec62aecba910c8036a7bd17cf3184a7b13ed9aa3f1c565\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/fumbled/p5wGZIqvvEihfUbb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"fumbled.lol docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9775FA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fumbled.lol/guides/custom-code/html-and-security\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/custom-code/html-and-security.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fumbled.lol/#organization\",\"name\":\"fumbled.lol docs\",\"url\":\"https://docs.fumbled.lol\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fumbled/i9BuV5GteiqbT2BR/logos/light.svg?fit=max\u0026auto=format\u0026n=i9BuV5GteiqbT2BR\u0026q=85\u0026s=07c723ffdfa279d38f693124d1be1767\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fumbled.lol#website\",\"name\":\"fumbled.lol docs\",\"url\":\"https://docs.fumbled.lol\",\"publisher\":{\"@id\":\"https://docs.fumbled.lol/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fumbled.lol/guides/custom-code/html-and-security#webpage\",\"url\":\"https://docs.fumbled.lol/guides/custom-code/html-and-security\",\"name\":\"Allowed HTML tags \u0026 security\",\"description\":\"Complete list of all 41 allowed HTML tags, attribute sanitization rules, CDN image restrictions, and DOM limits for Custom HTML cards.\",\"dateModified\":\"2026-12-02T13:19:26.000Z\",\"isPartOf\":{\"@id\":\"https://docs.fumbled.lol#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fumbled.lol/guides/custom-code/html-and-security#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fumbled.lol/guides/custom-code/html-and-security#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Custom CSS \u0026 HTML\",\"item\":\"https://docs.fumbled.lol/guides/custom-code/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Allowed HTML tags \u0026 security\",\"item\":\"https://docs.fumbled.lol/guides/custom-code/html-and-security\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.fumbled.lol/guides/custom-code/html-and-security#article\",\"headline\":\"Allowed HTML tags \u0026 security\",\"name\":\"Allowed HTML tags \u0026 security\",\"description\":\"Complete list of all 41 allowed HTML tags, attribute sanitization rules, CDN image restrictions, and DOM limits for Custom HTML cards.\",\"url\":\"https://docs.fumbled.lol/guides/custom-code/html-and-security\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fumbled.lol/guides/custom-code/html-and-security#webpage\"},\"dateModified\":\"2026-12-02T13:19:26.000Z\",\"keywords\":\"custom html, allowed tags, sanitizer, cdn.fumbled.lol, dom limits\",\"publisher\":{\"@id\":\"https://docs.fumbled.lol/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fumbled.lol#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"fumbled.lol docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"fumbled.lol docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/custom-code/html-and-security.md","siteName":"fumbled.lol docs","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"group":"Getting started","pages":[{"title":"fumbled.lol documentation","sidebarTitle":"Introduction","href":""},{"title":"Quickstart: create and publish your fumbled.lol profile","sidebarTitle":"Quickstart","icon":"rocket","href":"/guides/quickstart"}]},{"group":"Custom CSS \u0026 HTML","icon":"code","pages":[{"title":"Custom CSS \u0026 HTML overview","sidebarTitle":"Overview","icon":"book-open","href":"/guides/custom-code/overview"},{"title":"Component selectors","sidebarTitle":"Selectors","icon":"crosshair","href":"/guides/custom-code/selectors"},{"title":"Theme CSS variables \u0026 rules","sidebarTitle":"CSS variables","description":"Reference for all --fumbled-* CSS custom properties, supported at-rules (@media, @supports, @container, @keyframes), and CSS compiler rules.","icon":"palette","href":"/guides/custom-code/css-variables"},{"title":"Allowed HTML tags \u0026 security","sidebarTitle":"HTML \u0026 security","icon":"shield-check","href":"/guides/custom-code/html-and-security"},{"title":"Starter recipes","sidebarTitle":"Starter recipes","description":"Ready-to-use Custom CSS and Custom HTML recipes for fumbled.lol profiles, including frosted glass cards, sharp monochrome, interactive docks, and link shelves.","icon":"sparkles","href":"/guides/custom-code/recipes"}]},{"group":"Profile \u0026 customization","icon":"sparkles","pages":[{"title":"Themes, layouts \u0026 visual effects","sidebarTitle":"Themes \u0026 effects","icon":"sparkles","href":"/guides/themes-and-effects"},{"title":"Soundtrack, synced lyrics \u0026 8D audio","sidebarTitle":"Audio \u0026 lyrics","icon":"music","href":"/guides/audio-and-lyrics"},{"title":"Discord \u0026 Spotify presence","sidebarTitle":"Discord \u0026 Spotify","icon":"headphones","href":"/guides/discord-and-spotify"},{"title":"SEO \u0026 OpenGraph metadata","sidebarTitle":"SEO \u0026 metadata","icon":"search","href":"/guides/seo-and-metadata"}]},{"group":"Hosting \u0026 tools","icon":"server","pages":[{"title":"Custom domains","sidebarTitle":"Custom domains","icon":"globe","href":"/guides/custom-domains"},{"title":"File hosting \u0026 ShareX","sidebarTitle":"File hosting \u0026 ShareX","icon":"upload","href":"/guides/file-hosting-and-sharex"},{"title":"Analytics, multi-profile \u0026 security","sidebarTitle":"Analytics \u0026 security","icon":"shield","href":"/guides/analytics-and-security"}]},{"title":"Troubleshooting","sidebarTitle":"Troubleshooting","href":"/guides/troubleshooting"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Allowed HTML tags \u0026 security - fumbled.lol docs","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":[],"chunks":[]}