为什么HTML代码在IE10兼容模式不能运行?_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:24:52
Original
1211 people have browsed it

代码如下:







     


????????????????????????????
在IE10的兼容模式中点击登录没反应,取消兼容模式可以执行,在chrome中也能执行。
谢谢!!

回复讨论(解决方案)

<a href="http://www.baidu.com">登录</a>
Copy after login
Copy after login
Copy after login
Copy after login

input标签 是不需要闭合的
或者 你直接删除input 点击登录

<a href="http://www.baidu.com">登录</a>
Copy after login
Copy after login
Copy after login
Copy after login

input标签 是不需要闭合的
或者 你直接删除input 点击登录

不是,因为我想要保留input的button样式对用的按钮,所以采用input

input不闭合,结果还是一样

用css写出按钮的样子 你不觉的这样写不符合代码规范吗

这个用网页显示界面太....用css写出按钮的样子 这样写不符合代码规范吗

在我的电脑上的ie10可以运行哦,我的是64位的,不过楼主的写法确实有问题,input不需要闭合,即使是html5现在也没有要求闭合


<a href="http://www.baidu.com">登录</a>
Copy after login
Copy after login
Copy after login
Copy after login

input标签 是不需要闭合的
或者 你直接删除input 点击登录

不是,因为我想要保留input的button样式对用的按钮,所以采用input

删掉a标签,直接用就可以了



<a href="http://www.baidu.com">登录</a>
Copy after login
Copy after login
Copy after login
Copy after login

input标签 是不需要闭合的
或者 你直接删除input  点击登录

不是,因为我想要保留input的button样式对用的按钮,所以采用input

删掉a标签,直接用就可以了

上面用到事件了,直接加个from吧。。

   

input标签使用有问题
形如 就行了

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!