测试一下HTML
2013-06-20 17:11
519 查看
In this recent time we are focusing on a web application, yeah, internal product, i think that's why they think a little of user experience, so i want to test it with html, any question please feel free to let me know, I appreciate that:
1. Position the mouse cursor in the front of the first input when load it at the first time;
2. Replace attribute "size" with "style" to solve the problem that display two different length issue about input on IE;
3. The attribute "reset" must be used in form;
1. Position the mouse cursor in the front of the first input when load it at the first time;
2. Replace attribute "size" with "style" to solve the problem that display two different length issue about input on IE;
3. The attribute "reset" must be used in form;
<!DOCTYPE html> <html> <head> <script type="text/javascript"> function cleartextbox() { document.getElementById("eml").value=""; } </script> </head> <body onload="table.email.focus()"> <!--use formname.tdname.focus() to position cursor><--> <form name="table"> <table style="margin-left":28% width="45%"> <tr> <td>Email:</td> <td><input type="text" id="eml" name="email" maxlength="30" style="width:200px"></td> <!--Can't user size to set the input length on IE, must use style><--> <td><button type="button" onclick="cleartextbox()">Clear Email</button></td> </tr> <tr> <td>Password:</td> <td><input type="password" id="pwd" name="password" style="width:200px"></td> </tr> <tr> <td></td> <td><input type="reset" id="reset1" value="Reset Table"></td> </tr> </table> </form> <br></br> <button type="button" onclick="cleartextbox()">Clear Email</button> </body> </html>
相关文章推荐
- 测试一下这个博客的html编辑器
- 你使用的杀毒软件好吗,来测试一下就知道了
- 测试一下你是左脑还是右脑使用者
- 用python简单的测试一下多线程
- 说实话,写了这么多程序了,还从来没有用JUnit作为单元测试工具测试过,今天就来学习一下
- 报道,顺便测试一下google adsense
- string.Format 并不能防止SQL注入攻击才对,由于死活不信邪,特意做了测试来证明一下的确存在SQL注入攻击危险
- 仙剑考卷 (测试一下你迷仙剑的程度有多深)
- 我又把HTMLTestRunner改了一下,支持Python3,添加echarts统计饼图
- 成功装备AN/PEQ-1激光测距仪,草草测试了一下M40A1狙击步枪
- test测试一下
- 看看你是不是近视。--测试一下:)
- 测试一下
- 测试一下 恶化if黑
- asp html解析,自己写的,通过测试。
- 测试一下我的博客
- 测试一下用Live Writer发日志到student.csdn
- 软件测试 -- 比较一下黑盒测试、白盒测试、单元测试、集成测试、系统测试、验收测试的区别与联系
- 第35节 HtmlTestRunner测试报告
- 测试一下在CSDN博客中插入代码