Global properties of the HTML element

class

Variable type
String
Description
CSS class name for this HTML element
Default value
NULL
Mandatory
No

dir

Variable type
String
Description
The text direction. Allowed values are 'ltr' (left to right) and 'rtl' (right to left).
Default value
NULL
Mandatory
No

id

Variable type
String
Description
An identifier for the element, which must be unique within the current document.
Default value
NULL
Mandatory
No

lang

Variable type
String
Description
Language identifier for this HTML element, in line with RFC 1766.
Default value
NULL
Mandatory
No

style

Variable type
String
Description
Individual inline CSS styles, which should only be relevant to the current HTML element.
Default value
NULL
Mandatory
No

title

Variable type
String
Description
An advisory text, usually displayed when moving over the element with a mouse pointer.
Default value
NULL
Mandatory
No

accesskey

Variable type
String
Description
A definition of the key combination which will bring focus to this element.
Default value
NULL
Mandatory
No

tabindex

Variable type
Integer
Description
The index number for this element within a keyboard-based tabbing interaction sequence.
Default value
NULL
Mandatory
No

onclick

Variable type
String
Description
A piece of JavaScript code to be executed when the element is clicked or tapped.
Default value
NULL
Mandatory
No

data

Variable type
Array
Description
Adds the "data-" attribute to the tag. New since TYPO3 7 LTS. *Example: data="{foo:'bar'}" produces data-foo="bar"
Default value
NULL
Mandatory
No