---
title: "HtmlCode"
manual: "LIA Form"
version: "2.2"
permalink: "https://docs.typo3.org/permalink/lia/lia_form:htmlcode@2.2"
source: "FormElements/HtmlCode.rst"
rendered: "2026-09-29T13:27:41+00:00"
---

# HtmlCode {#htmlcode}

This field enables the maintenance of an HTML element in the form.

-   **label**

    -   *Type:* string
    -   *propertyPath:* label

    The field label

-   **elementDescription**

    -   *Type:* string
    -   *propertyPath:* properties.elementDescription

    The field description.

-   **text**

    -   *Type:* string
    -   *propertyPath:* properties.text

    The field description.

-   **font**

    -   *Type:* string
    -   *propertyPath:* properties.font

    Selection of the html tag.

-   **align**

    -   *Type:* string
    -   *propertyPath:* properties.align

    Selection of the text alignment.

-   **gridColumnViewPortConfiguration**

    -   *Type:* GridColumnViewPortConfigurationEditor

    Grid settings.

-   **requiredValidator**

    -   *Type:* RequiredValidatorEditor
    -   *propertyPath:* properties.fluidAdditionalAttributes.required

    Field validation settings.
