title
| Applies to | ? |
|---|
This example uses the title property to display advisory text when the user hovers the mouse pointer over the text.
<SCRIPT>
function boldAdvise(src) {
src.title="this is bold text";
return;
}
</SCRIPT>
:
<SPAN onmouseover="boldAdvise(this)">bold section</SPAN>
Notes
Remarks
Windows Internet Explorer renders the title as a ToolTip when the user hovers the mouse over the object. Titles are limited to 512 total characters; this limit includes control characters, such as line feeds, carriage returns, and so on. In Windows CE, ToolTips do not appear when a user hovers the mouse pointer over objects. Renders the title as a ToolTip when the user hovers a mouse or finger over objects Titles are limited to 512 total characters; this limit includes control characters, such as line feeds, carriage returns, and so on.
Syntax
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 7.4.3
See also
Related pages
- aa
abbr- acronymacronym
addressappletareaarticleasidebbdobigblockQuotebodybrbuttoncaptioncentercitecodecolcolGroupcustomdddeldfndirdivdldtemembedfieldSetfigcaptionfigurefontfooterformframeframeSetheadheaderhgrouphnhrhtmliiframeimginput type=buttoninput type=checkboxinput type=fileinput type=hiddeninput type=imageinput type=passwordinput type=radioinput type=resetinput type=submitinput type=textinsisIndexkbdlabellegendlilistingmapmarkmarqueemenunav- nextIDnextID
noBRobjectoloptGroupoptionpplainTextpreqrtrubyssampsectionselectsmallspanstrikestrongsubsup- tabletable
tBodytdtextAreatFootthtHeadtrttuulvarxmptitle
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]