You are here: irt.org | FAQ | JavaScript | Text | Q520 [ previous next ]
Try:
<script language="JavaScript"><!--
var output = 'Message of the day";
document.write('<font size+=2>' + output + '<\/font>');
//--></script>Alternatively look at the article How long is a piece of string?.