---
description: Description of element properties
---

# Element Options

The Element Options [dialog](https://en.wikipedia.org/wiki/Dialog_box) (shown below) and the Element Options [panel](https://en.wikipedia.org/wiki/Panel_\(computer_software\)) (also shown below) shows a list of properties that can modify the look and feel of the selected element.&#x20;

![Element Options dialog for Text Elements](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-LonfFN0cOGNor6N2vxF%2F-Long7HluOVCsJRFxujL%2Fimage.png?alt=media\&token=fd495020-7f02-4c08-9dd1-4a0ff8cc32d3)

![Element Options dialog for Group Elements](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-LpECOhSkvyVKX3_0aIZ%2F-LpECYlCoKIOsGuW7A6T%2Fimage.png?alt=media\&token=14d5ed7e-4454-43f8-b4c2-7a957ab74192)

![Element Options panel for a group (with labels)](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-MFa5A1xqOd4XMZT64Qk%2F-MFaUzAL-rNeFGWWL8ac%2Fimage.png?alt=media\&token=a6f43656-ab2a-4bf4-a972-026a720d006e)

![Element Options panel for a group (without labels)](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-MF_qoaaXanZpBZjM7F_%2F-MF_s_szo4GhLvqk8JSI%2Fimage.png?alt=media\&token=c62c8588-bb4e-47ef-a44c-91e2f0635c22)

When exporting an artboard, Web Export translates the graphics on the artboard into HTML code. In other words, it converts an artboard element like this:&#x20;

![](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-LonfFN0cOGNor6N2vxF%2F-Lonhl4v_lYdVVSxWhfT%2Fimage.png?alt=media\&token=643ccc5c-afcd-4eeb-b0ee-7c8255e4c431)

Into code like this:&#x20;

![](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-LonfFN0cOGNor6N2vxF%2F-LoniXoGsbZ7IuDfJ5iz%2Fimage.png?alt=media\&token=8d5755dd-4657-4223-a202-e9b4375ad318)

It goes from a visual graphic design in XD to HTML code.&#x20;

That HTML goes from code back into a visual design when loaded into a browser.&#x20;

The Element Options form is a way to add, modify, update or remove the **HTML**, **CSS** and **JavaScript** code that is exported.&#x20;

Depending on the type item you have selected in Adobe XD there may be a few more or a few less options shown.&#x20;

Any element that has been modified from its default state will show visual indicators next to the properties that have changed.&#x20;

In the image below, there is one property that has been changed. It is shows a blue border next to it:&#x20;

![](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-MampSdturBugi7i1VY8%2F-MamsUv1UjsQi7RQz-yA%2Fimage.png?alt=media\&token=a7ff0a95-2052-4fe4-90c7-6d397181c534)

If we click on the Show Changes button we can see the names of the properties that have changed:&#x20;

![Show Changed Properties ](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-MampSdturBugi7i1VY8%2F-MamsvFNoTRqmveQ1w2-%2Fimage.png?alt=media\&token=3264cf1c-69ff-42c0-aca2-62acee64eb70)

![](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-MampSdturBugi7i1VY8%2F-MamtYhYX3qTVwW4PIOY%2Fimage.png?alt=media\&token=f78463f4-b842-45ea-b0eb-a7a2135a31e3)

We can reset all changes to the selected element by using the Reset Changes button:&#x20;

![](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-MampSdturBugi7i1VY8%2F-MamtEN2pKlnQoMWQxrZ%2Fimage.png?alt=media\&token=cabad264-a30d-4be4-9dba-666c8f91961a)

The following list describes each field and links to more details. &#x20;

\-------

[Identity](element-options/id-field) - The identity attribute or id defines a unique name of an element.&#x20;

[Tag Name](element-options/tag-name) - The tag name and sub tag name fields allow you to define the tag names of the exported elements.&#x20;

[Styles](element-options/untitled) - Additional styles provide a way to define or modify the styles of an element.&#x20;

[Classes](element-options/classes) - Additional classes provide a way to define a group of styles or properties for one or more elements.&#x20;

[Attributes](element-options/attributes) - Additional attributes provide a way to set the attributes of an element to adjust or configure their behavior.&#x20;

[Hyperlink](element-options/hyperlink) - Set hyperlinks on elements to visit different pages.&#x20;

[Size](element-options/size) - Set the different width and height sizing options.

[Background](element-options/background) - Use a rectangle as a background for a group

[Markup inside](element-options/markup-inside) - Markup inside is a powerful way to set your own HTML.

[Markup before and after](element-options/markup-before-and-markup-after) - Markup before and after provides a way to add HTML before and after an element.&#x20;

[Text ids](element-options/text-ids) - Find a range of text and give it an id&#x20;

[Text tokens](element-options/text-tokens) - Find and replace text in a text group

[Group Row Layout](element-options/row-layout) - Sets horizontal layout rules to items inside of a group

[Group Column Layout](element-options/column-layout) - Sets horizontal layout rules to items inside of a group

[Group Layout Alignment](element-options/row-layout) - Determines how items are aligned inside of a layout group

[Group Items](element-options/row-layout) - Determines how items are spaced inside of a layout group

[Group Wrap](element-options/row-layout) - Determines how items are wrapped inside of a layout group

[Self Alignment](element-options/row-layout) - Determines how an individual item is aligned inside a layout group

[Hover Effects](how-to-section/adding-hover-effects) - Select an element to show it's styles on hover

[JavaScript](element-options/script-template) - Opens a form to enter custom JavaScript

[CSS](element-options/css-template) - Opens a form to enter custom CSS

[HTML](element-options/html-template) - Opens a form to enter custom HTML

[Overflow](element-options/overflow) - Set whether content that is larger than it's original size shows scrollbars, is hidden or is visible.&#x20;

[Layout Section](element-options/layout-section) - Options for how to layout, size and position the selected item or it's descendants

[Positioning](element-options/untitled-1) - Set an element to anchor to the left, top, bottom, right edge of its container or if it is centered horizontally or vertically in its container. Also known as anchors or [constraints](element-options/untitled-1).&#x20;

[Export as String](element-options/export-as-string) - If checked the element the markup is exported as a string in JavaScript.&#x20;

[Export as Image](element-options/convert-to-image) - If checked the element is converted into a static image of what it looks like in the artboard

[Debug Element](element-options/debug-element) - Shows helpful information for developers.&#x20;

[Show Outline](element-options/show-outline) - Adds an outline around the element when the page is viewed in the browser.&#x20;

[Displayed](element-options/displayed) - If unchecked then the element is not displayed. Element is still exported.&#x20;

[Export](element-options/export) - If unchecked then the element is not exported at all

[Auto Export](element-options/auto-export) - Automatically export on each change

[Export](element-options/export-1) - Export the selected or first artboard

[Show Markup](element-options/show-markup) - Show the markup of the selected item

[Show CSS](element-options/show-css) - Show the CSS of the selected item

[Show Property Changes](element-options/show-property-changes) - Shows the properties that have changed from default settings

[Reset Property Changes](element-options/show-property-changes) - Resets any changes made to the element back to the default state

Copy - Copies the URI to the exported page (only shows after export)

URL - Opens a link to a page that shows the URI to the exported page
