# Working with tag options

> Open Tag options in the sidebar to add classes autocompleted from your theme, inline styles and attributes to any N1ED widget.

Source: https://n1ed.com/how-to/custom-styling  
Section: Typography and basics > Classes, styles, attributes  
Updated: 2026-09-20  
Every page of n1ed.com has a Markdown copy at its URL + `.md` (`index.md` after a URL that ends in `/`); all of them are in one file: https://n1ed.com/llms-full.txt

> **Note**
>
> We recommend this way of editing content only to advanced users.

A WYSIWYG editor provides the ability to add some basic text formatting to your document. But sometimes these capabilities may not be enough. N1ED offers its own way to customize styles of selected elements by setting **Tag options** (such as classes, styles, attributes). This option is available for all N1ED widgets.

## Classes and Styles

Using CSS properties precisely for a given element from the WYSIWYG editor without the need to switch to direct HTML editing gives your colossal freedom of content editing. To edit an element, use [breadcrumbs](https://n1ed.com/how-to/breadcrumbs). The navigation panel is especially useful when dealing with widgets with complex structure. The selected element is highlighted with a borderline, and the sidebar displays its settings. Expand the **Tag options** section.

To apply styles to content, you can use classes of the existing [website theme](https://n1ed.com/docs/configuration/css-theming). Simply type the name of a class in the textbox and the class will be applied to the selected element. Autocomplete simplifies the process; when you start typing the name, you will see all matching classes.

![Styles for button widget](https://n1ed.com/img/screenshots/docs/widgets/button/tag-options-classes.png)

*Autocomplete Bootstrap classes*

You can also manually set CSS styles for the selected element. The properties are applied in real time, so you can instantly see all changes.

![Styles for button widget](https://n1ed.com/img/screenshots/docs/widgets/button/tag-options-styles.png)

*Set Styles for Button widget*

## Attributes

Sometimes you may need to set certain attributes to an element. An attribute is a value that specifies some additional behavior of the element or changes it a bit. The **Attribute** fields allow you to configure attributes as name/value pairs.

![Attribute for button widget](https://n1ed.com/img/screenshots/docs/widgets/button/tag-options-attributes.png)

*Set Attribute for Button widget*
