# \<widget>

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

All tags must be nestled in the `<widget>` element. There must be a parent `<widget>` element. The `<widget>` element defines the widget.

### **InnerHTML**

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

### **Attributes**

**background - colour, gradient or image**

Defines the background.

**padding - padding**

Defines the widget padding.

**refreshAfterDate - posInt**

Defines the minimum refresh time for the widget in minutes.

**spacing - posInt**

Defines the spacing between widget elements.

**url - url**

Defines the widget url.

**addAccessoryWidgetBackground - bool**

Adds the accessory widget background to accessory widgets.
