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