'fontColor()' Example : fontColor « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- fontColor
'fontColor()' Example
<html>
<body>
<button onclick="var myS = new String('Sample String');
document.write('regular string'+myS.fontcolor('blue'));">
change the font color</button>
</body>
</html>
Related examples in the same category