# remove\_class

Source: https://zotonic.com/docs/1523/remove_class

URI: https://zotonic.com/id/1523

Language: en



Remove a CSS class from an HTML element.

Example:

```django
{% button action={remove_class target="myid" class="newclass"} %}
```

Removes the CSS class “newclass” from the element with HTML id “myid”.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1523?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1523?language=en>)
