Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that IE9 does not support some attributes in HTML5

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "how to solve the problem that IE9 does not support some attributes in HTML5". The content of the explanation in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's way of thinking to study and learn "how to solve the problem that IE9 does not support some attributes in HTML5".

The specific methods are as follows:

It is well known that offline applications in the HTML5 standard and parts of CSS3 are not supported in IE9. This paper makes a brief analysis of this.

Microsoft has released the official version of Internet Explorer 9 (hereinafter referred to as IE9). In this release, Microsoft follows their development strategy and provides support for most of the features in HTML5 and CSS3 as the latest Web standards.

At the same time, Microsoft is also preparing to use IE9 applications in Windows Phone 7. IE9 has undoubtedly become a very important part of Microsoft's Internet strategy.

However, several major features in IE9, which should be used to compete with browsers such as Firefox,Safari,Chrome, are not supported.

The HTML5 published by W3C and its related main functions are listed as follows:

Communication related (Web Sockets, Server-Sent Events, etc.)

CSS3 style

Device location function (obtaining geographic location information, etc.)

3D and screen display effect (3D function of WebGL,CSS3, etc.)

Multimedia (Audio/Video, etc.)

Improved performance and functionality (Web Workers,XHR2, etc.)

Semantics (Microdata, etc.)

Offline and local storage (App Cache, local storage, IndexedDB, etc.)

Among them, Web web pages can be used even offline, the functions of Web applications, multi-threaded Web Workers can be used with JavaScript, and several functions in CSS3 are not supported in IE9.

Why didn't Microsoft, which should provide active support for HTML5, support these important functions in IE9? Why is it necessary to use IE9 in Windows Phone7? This reason has been answered by Microsoft officials.

Question: first of all, confirm the fact that there is no support for the offline function of HTML5 in IE9.

The official answer: yes, generally speaking, offline functionality, as well as several features in CSS3, are not supported in IE9.

First of all, make an explanation for CSS3, the supplier prefix in the attribute of CSS (the prefix "- moz-", "- webkit-", etc., added to the attribute of CSS for use in browsers provided by other vendors. Is not supported in IE9

"uniform markup" is advocated in IE9, which means that with the same attributes, tags should render the same in any browser. In other words, the artificially added prefixes for use in browsers provided by various vendors do not conform to this concept, so they do not provide support.

Another problem is about offline applications. This is because one of its related functions, IndexedDB, has not been implemented yet, so offline application functions that are closely related to it are not supported for the time being.

Now there are all kinds of customers who use IE, such as individuals, developers, enterprises, etc. Therefore, in any case, the support for new features must take a conservative approach.

The support we provide now is very secure and stable, and priority will be given to those features that are highly desired by users in the future.

No matter what features are supported all at once, or if they are specifically supported to cater to enterprise users, such support is very insecure and unstable, so we do not want to adopt this approach.

However, the enhancements to IE will certainly not stop on the IE9 version, so we will certainly continue to provide new support for HTML5/CSS3 in the future.

Question: in fact, the fact that offline and WebWorker functions, one of the main features of HTML5, do not provide support in IE9 is a matter of public concern recently. While claiming to provide support for HTML5, isn't it tantamount to no such publicity without making it clear what features are supported and what are not supported?

The official answer: I'm not trying to hide it. I should be busy with a more comprehensive introduction to IE9, a new browser, without taking this problem into account. Of course, when introducing the attributes of each API separately, there must be a relatively clear explanation.

Thank you for your reading, the above is the content of "how to solve the problem that IE9 does not support some attributes in HTML5". After the study of this article, I believe you have a deeper understanding of how to solve the problem that IE9 does not support some attributes in HTML5. The specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report