TitleAttr Property


Applies to

THtmlViewer component

Declaration

property TitleAttr: String;

Read only and run time only. The TitleAttr property returns the string defined by a Title="..." attribute in the HTML tag which relates to the current mouse cursor position. The Title attribute may be added to almost all HTML tags. An OnMouseMove handler can examine TitleAttr and uses its value in a hint window to provide hints or other tooltip information relevant to portions of the HTML document.

Usage Note:

TitleAttr returns the Alt attribute for <img> tags if no Title attribute is present.