Elementeigenschaften - Label

Page / - last modified by fse on 14.07.2021, 14:44

Label

last modified by fse

on 14.07.2021, 14:44

Table of Contents

This property defines the label text of an element. A label is the text above, below or to the right or left of an element. Not every element has got this property.

The label text appears next to a form element. It should be kept short and tell the user what they should enter in this form field.

Name	Beschreibung
Label	Value of the label. This is the text that is displayed next to the element.
Alignment	Specifies the position (left, right, above, below) of the label.
Width (in px)	Distance between label and the element. Applies only when the alignment is set to left.
Placeholder	Placeholder text, applies only to input fields.
Title	Tooltip of the item (the HTML title attribute).
Unit	Text that after an element. Usually this is used for units, such EURO or km.