The HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.
HTMLElement.title
MDN Reference
Optional
Called every time the element is inserted into the DOM
Called every time the element is removed from the DOM.
The
HTMLElement.titleproperty represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.MDN Reference