Javascript Reference
Categories: BASEFONT

javascript BASEFONT color

@July 1, 2009, 4:29 a.m.
color Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

 

Read/Write  

Sets the font color of all text below the basefont element.

 
Example
 
document.getElementsByTagName("basefont")[0].color = "#c0c0c0";
 
Value

Case-insensitive hexadecimal triplet or plain-language color name as a string

 
Default

Browser default.


Powered by Linode.