html测试代码框工具
2014-12-02 10:26
197 查看
Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>runcode</title> </head> <body> <script language="JavaScript" type="text/JavaScript"> //运行文本域代码 function runEx(cod1) { cod=document.all(cod1) var code=cod.value; if (code!=""){ var newwin=window.open('','',''); //打开一个窗口并赋给变量newwin。 newwin.opener = null // 防止代码对论谈页面修改 newwin.document.write(code); //向这个打开的窗口中写入代码code,这样就实现了运行代码功能。 newwin.document.close(); } } </script> <textarea name="textarea" cols="60" rows="10" id="rn01"><font color="red">加入HTML代码</font></textarea> <br><INPUT onclick="runEx('rn01')" type="button" value="运行代码" style="cursor:hand"> [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行] </body> </html>
相关文章推荐
- [软件推荐]jQueryPad-小巧而且实用的jQuery&HTML测试工具(支持IE,chrome,FF)
- windows 2003上安装测试管理工具TestDirector 8.0,访问页面显示HTML代码的解决方法
- 关于软件测试及测试工具比较 (4) http://tech.ccidnet.com/art/292/20051020/354201_4.html
- 发现一个工具,可以将psd 导出成 html,搭建nodejs环境测试
- html--9(IE版本测试工具及开发工具)
- Dabblet,简洁实用的HTML和CSS代码段在线测试工具
- 实现HTML编码和解码的JavaScript工具类(未测试)
- 【转】 HTML JS 运行测试小工具
- 【工具】_HTML在线测试工具--临时图片测试
- html 新浪测试工具网站
- 性能测试工具之研究http://www.51testing.com/html/52/143.html
- 开源性能测试工具 - Apache ab 介绍 ---http://www.cnblogs.com/jackei/archive/2006/07/18/454144.html
- [原创]网站HTML,XHTML,XML,WML,CSS等测试验证工具介绍
- HTML本地化测试工具HTMLQA
- 网站HTML,XHTML,XML,WML,CSS等测试验证工具介绍[转]
- 测试工具的选择和使用
- 软件测试及管理工具
- was压力测试工具的心得
- 软件测试管理工具bugzilla-2.18rc2安装(Windows 2000)全攻略-[s00n原作]
- HTML显示C++源代码语法高亮的工具:C++2HTML