> 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-text-greater-than.md).

# \<text>

About The Text Tag

```html
<widget>
  <text>Hello, world!</text>
</widget>
```

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

### **Inner Text**

The `<text>` element can have any character as the inner text excluding `<` and `>` and trimming white space. `<` must be converted to the `&lt;` entity. `>` must be converted to the `&gt;` entity. `&` can optionally be converted to the `&amp;` entity.

### **Attributes**

**font - font**

Defines the font family and size of the text.

**lineLimit - posInt**

Defines the maximum line limit.

**minimumScaleFactor - decimal**

Defines the minimum scale factor.

**shadowColor - colour**

Defines the shadow color.

**shadowOffset - point**

Defines the shadow offset.

**shadowRadius - posInt**

Defines the shadow radius.

**textColor - colour**

Defines the text color.

**textOpacity - decimal**

Defines the opacity of the text.

**url - url**

Defines the text url.

**alignText alignText**

Defines the horizontal alignment of the text.
