<script type="text/javascript">
var txt="Hello World!"
var txt="Nice to meet you !";
//原大小
document.write("<p>"+txt+"</p>");
//变大
document.write("<p>big:"+txt.big()+"</p>");
//变小
document.write("<p>small:"+txt.small()+"</p>");
//轮廓清晰的
document.write("<p>Bold:"+txt.bold()+"</p>");
//斜体;斜体字
document.write("<p>Italic:"+txt.italics()+"</p>");
//闪亮,闪烁
document.write("<p>Blink:"+txt.blink()+"(does not work in IE)</p>");
//固定的
document.write("<p>Fixed:"+txt.fixed()+"</p>");
//中划线
document.write("<p>Strike:"+txt.strike()+"</p>");
//font 字型字体
document.write("<p>Fontcolor:"+txt.fontcolor("red")+"(默认为绿色)</p>");
//字体大小
document.write("<p>Fontsize:"+txt.fontsize(16)+"</p>");
//变小写
document.write("<p>toLowerCase:"+txt.toLowerCase()+"</p>");
//变大写
document.write("<p>toUpperCase:"+txt.toUpperCase()+"</p>");
//下面的
document.write("<p>Subscript: " + txt.sub() + "</p>")
//上面的
document.write("<p>Superscript: " + txt.sup() + "</p>")
//超链接。红色下划线
document.write("<p>Link: " + txt.link("http://www.w3school.com.cn") + "</p>")
</script>