HTML DOM Element title
HTML DOM Element title Property
The title property is used to either set or return the value of an element title attribute. It is basically used for giving extra information about an element and is shown as a tooltip when the mouse hovers over it.
Syntax:-
Its syntax is:- element.title OR element.title = text
Return:-
Its return is:- the value of the element title attribute
Further Explanation:-
Value | Description |
text | The value for the element title attribute. |