当前位置: 首页 > 工具软件 > html5-shims > 使用案例 >

html5 polyfills,对polyfills HTML5的意义是什么?

步浩壤
2023-12-01

nullpointerJitendra Vyas提出了一个问题:What is the meaning of polyfills in HTML5?,或许与您遇到的问题类似。

A polyfill is a browser fallback, made in JavaScript, that allows functionality you expect to work in modern browsers to work in older browsers, e.g., to support canvas (an HTML5 feature) in older browsers.

It's sort of an HTML5 technique, since it is used in conjunction with HTML5, but it's not part of HTML5, and you can have polyfills without having HTML5 (for example, to support CSS3 techniques you want).

Here's a good post:

Here's a comprehensive list of Polyfills and Shims:

希望本文对你有帮助,欢迎支持JavaScript中文网

 类似资料: