> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://developers.webflow.com/designer/reference/elements/custom-attributes/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server. # Custom Attributes > Attach additional, specialized data to elements with custom attributes. In Webflow, you can use native elements, styles, and settings to create standard HTML attributes like `href`, `class`, and `id`. However, [Custom Attributes](https://help.webflow.com/hc/en-us/articles/33961389460115) extend this capability. Custom attributes allow developers to attach additional, specialized data to elements, helping broaden the scope of a site's functionality and interactivity. In Webflow, they are especially useful for enriching custom code, [particularly when integrated with CMS data.](https://help.webflow.com/hc/en-us/articles/33961389460115) To use the methods below, choose an element with a `CustomAttributes` property of `true`. Using these methods with elements that don't have this property will return an error. ## Methods #### [Get All Custom Attributes](/designer/reference/custom-attributes/getAllCustomAttributes) Get all custom attributes for an element. #### [Get Custom Attribute](/designer/reference/custom-attributes/getCustomAttribute) Get a custom attribute for an element by name. #### [Set Custom Attribute](/designer/reference/custom-attributes/setCustomAttribute) Set a custom attribute for an element. #### [Remove Custom Attribute](/designer/reference/custom-attributes/removeCustomAttribute) Remove a custom attribute from an element. > Attach additional, specialized data to elements with custom attributes. ## Docs - [Get All Custom Attributes](https://developers.webflow.com/designer/reference/custom-attributes/getAllCustomAttributes.md): - [Get Custom Attribute](https://developers.webflow.com/designer/reference/custom-attributes/getCustomAttribute.md): - [Set Custom Attribute](https://developers.webflow.com/designer/reference/custom-attributes/setCustomAttribute.md): - [Remove Custom Attribute](https://developers.webflow.com/designer/reference/custom-attributes/removeCustomAttribute.md):