> This page is for Home.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.webflow.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server.

# New functions for accessing styles and manipulating Div Block element tags

> Discover the latest enhancements to Webflow's APIs, including updates to the Data API and beta endpoints.

## Retrieve styles by paths

The function `webflow.getStyleByName()` can now accept a nested style path array to get a style, instead of only a single style name.
If you have different styles with the same name within a site, you can pass an array with the name of the parent style and the name of the child style to identify a specific style, as in this example:

```typescript
const retrievedStyle = await webflow.getStyleByName(["fa-cms-filter-container", "fa-hide-cms-filter"]);
```

This change is backward-compatible because the function still accepts a single style name.

For more information, see [Get style by name or path](/designer/reference/get-style-by-name).

## Get and set Div Block element tags

The new functions `element.getTag()` and `element.setTag()` allow you to get and set the element tag on a Div Block element, which sets its purpose on the page, such as `header`, `footer`, or `figure`.

For more information, see [Get Div Block element tag](/designer/reference/get-tag) and [Set Div Block element tag](/designer/reference/set-tag).