Home > Web Front-end > HTML Tutorial > Why doesn't HTML code run in IE10 compatibility mode? _html/css_WEB-ITnose

Why doesn't HTML code run in IE10 compatibility mode? _html/css_WEB-ITnose

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

The code is as follows:








< /body>

??????????????????????????????
Compatibility mode in IE10 There is no response when clicking login in. Cancel the compatibility mode and it can be executed, and it can also be executed in chrome.
Thank you! !


Reply to the discussion (solution)

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

The input tag does not need to be closed
Or you can delete the input directly and click to log in

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

The input tag does not need to be closed
Or you can delete the input directly and click to log in

No, because I want to retain the button style of the input, so I use input

The input is not closed, but the result is still the same

Use css to write the button. Don’t you realize that writing like this does not comply with the code specifications?

This web page display interface is too... .Use css to write the appearance of the button. Isn’t this writing in compliance with the code standards?

It can run on IE10 on my computer. Mine is 64-bit, but there is indeed a problem with the way the author writes it. The input is not required. Closing, even html5 does not require closing now


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

The input tag does not need to be closed
Or you can delete the input directly and click to log in

No, Because I want to retain the input button style for the buttons, I use input

to delete the a tag and directly use That’s it



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

The input tag does not need to be closed
or you can delete the input directly and click to log in

No, because I want to retain the button style of input, so I use input

to delete the a tag and directly use That's it

Events are used above, just add from. .


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