# HTML

## Description:

HTML

HTML component used to create HTML (Hypertext Markup Language) tags.

### Allowed Parent Components:

1. Card Body
2. Col
3. DIV
4. Thumbnail

### Allowed Child Components:

1. Popover
2. Pulse
3. Trigger Before Render

### Properties

### ➤ Display

Choose an option to set whether the component is treated as a block or inline element and the layout used for its children, such as grid or flex.

Allowed Values:

1. block
2. inline
3. Default

### ➤ Text

Provide a HTML content. e.g. HTML Content it will render content as HTML Content

Allowed Values: Free text field

### ➤ View Attribute

Allowed Values: Attribute

### ➤ Class Name Expression

Allowed Values: An expression which should return string after evaluation

### ➤ Min Height

Specify a minimum height in pixels.

Allowed Values: Any number value

### ➤ Max Height

Specify a maximum height in pixels.

Allowed Values: Any number value

### ➤ Min Width

Specify a minimum width in pixels.

Allowed Values: Any number value

### ➤ Max Width

Specify a maximum width in pixels.

Allowed Values: Any number value

### ➤ On Click

Allowed Values: Controller Function

### ➤ Border Top

Select this to add a border on top

Allowed Values: Yes/No

### ➤ Border Right

Select this to add a border on right

Allowed Values: Yes/No

### ➤ Border Bottom

Select this to add a border on bottom

Allowed Values: Yes/No

### ➤ Border Left

Select this to add a border on left

Allowed Values: Yes/No

### ➤ Border Width

Select an option to change the width of a border

Allowed Values:

1. default
2. normal
3. thick
4. thicker

### ➤ Border Type

Select an option to change the type of a border

Allowed Values:

1. solid
2. dashed
3. dotted

### ➤ Border Color

Select a color or enter the custom class to set the color on the sides of the element's border.

Allowed Values: Select a color or enter the custom class to set the color on the sides of the element's border.

### ➤ Margin

Select a value to add margin on all four sides of the component. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.

Allowed Values: Any number value

### ➤ Margin Bottom

Select a value to add margin on the bottom of the component.

Allowed Values: Any number value

### ➤ Margin Left

Select a value to add margin on the left of the component.

Allowed Values: Any number value

### ➤ Margin Right

Select a value to add margin on the right of the component.

Allowed Values: Any number value

### ➤ Margin Top

Select a value to add margin on the top of the component.

Allowed Values: Any number value

### ➤ Padding

Select a value to add padding on all four sides of the component. It is a shorthand for padding-top, padding-right, padding-bottom, and padding-left.

Allowed Values: Any number value

### ➤ Padding Bottom

Select a value to add padding in the bottom of the component.

Allowed Values: Any number value

### ➤ Padding Left

Select a value to add padding in the left of the component.

Allowed Values: Any number value

### ➤ Padding Right

Select a value to add padding in right of the component.

Allowed Values: Any number value

### ➤ Padding Top

Select a value to add padding in top of the component.

Allowed Values: Any number value


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudio.io/ui-components/widgets/html.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
