> For the complete documentation index, see [llms.txt](https://normal-tangerine8609.gitbook.io/html-widget/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://normal-tangerine8609.gitbook.io/html-widget/components/less-than-stack-greater-than.md).

# \<stack>

About The Stack Tag

```html
<widget>
  <stack>
  </stack>
</widget>
```

The `<stack>` element defines a widget stack element.

### **InnerHTML**

The innerHTML of the `<stack>` element will be compiled within the stack.

### **Attributes**

**background - colour, gradient or image**

Defines the background.

**borderColor - colour**

Defines the border color.

**borderWidth - posInt**

Defines the border width.

**cornerRadius - posInt**

Defines the corner radius.

**padding - padding**

Defines the padding.

**size - size**

Defines the size of the stack.

**spacing - posInt**

Defines the spacing between stack elements.

**url - url**

Defines the stack url.

**alignContent - alignContent**

Defines the vertical alignment of stack elements.

**layout - layout**

Defines the layout of the stack.
