摘要: 那些不支持 JavaScript 的浏览器会把js脚本作为页面的内容来显示。为了防止这种情况发生,可以使用这样的 HTML 注释标签:<html><body><script type="text/javascript"><!--document.write("Hello World!");//--></script></body></html>注释行末尾的两个正斜杠是 JavaScript 的注释符号,它会阻止 JavaScript 编译器对这一行的编译。追问既然是注释, 阅读全文
posted @ 2013-04-11 20:33 qiuhua 阅读(148) 评论(0) 推荐(0) 编辑
摘要: HTML <td> 标签的 nowrap 属性nowrap 属性规定表格单元格中的内容不换行。实例带有 nowrap 属性的表格单元:<table border="1"><tr><th>Poem</th><th>Poem</th></tr><tr><td nowrap="nowrap">Never increase, beyond what is necessary, thenumber of entities required to 阅读全文
posted @ 2013-04-11 10:57 qiuhua 阅读(291) 评论(0) 推荐(0) 编辑