# LinkText Property

## Applies to

THtmlViewer, TFrameViewer, and TFrameBrowser components

## Declaration

property LinkText: String;

The LinkText property is valid within the following link related event handlers:

OnHotspotClick

OnHotspotCovered

OnHotspotTargetClick

OnHotspotTargetCovered

LinkText contains the displayed text between the <a> tag and its terminating </a> tag. For example, if the HTML is:

<a href="#GoThere">This is a <b>Link</b></a>

LinkText will contain "This is a Link".

## See Also:

LinkAttributes Property