asp.net.ph

Skip Navigation Links

TITLE Attribute | title Property

Language References


Sets or retrieves advisory information ( ToolTip ) for the object.

Syntax


Inline <element TITLE = sTitle ... >
Script object.title = sTitle ]

Possible Values


sTitle String of advisory text for the object.

The property is read/write with no default value.

Remarks

Microsoft® Internet Explorer® renders the title as a ToolTip when the user hovers the mouse over the object.

Example

In the following example, the bold section retrieves its advisory text through a function call that returns a value set with the title property.

<script language="JavaScript">
function boldAdvise ( src ) {
src.title="this is bold text";
return;
}
</script>
...
<P onmouseover="boldAdvise ( this )">bold section</p>

This feature requires Microsoft® Internet Explorer® 4.0 or later.

 Show me 

See Also

TITLE object



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note