javascript如何控制document.write输出的文本格式,谢谢各位

来源:百度知道 编辑:UC知道 时间:2024/09/28 17:52:27
字体粗细、大小、颜色!
我QQ号495808798

document.write ('<td bgcolor=\"#989898\"><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">');
类似的字体用FONT标签,颜色是COLOR
既然学编程还是要自己探索一下的

同意楼上观点.志同道合.

用document.write输出相应的html代码即可,想要什么就有什么。