Javascript Reference
Categories: Obj_Document

javascript Obj_Document title

@March 15, 2008, 1:22 a.m.
titleFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Provides an advisory description of the element. When the element is one that has a physical presence on the page, the browser renders the value of this property as a floating text label when the cursor rests atop the element for a moment. The size, font characteristics, and color of this label are not within control of scripting.

 
Example
 
document.getElementById("elementID").title = "Hot stuff!";
 
Value

String.

 
Default

Empty string.


Powered by Linode.