What does idl attribute mean in the W3C html5 standard document?
This document defines an interface definITion language, Web IDL, that can be used to describe interfaces that are intended to be implemented in web browsers. Web IDL is an IDL VARiant with a number of features that allow the behavior of common script objects in the web platform to be specified more readily. How interfaces described with Web IDL correspond to constructs within ECMAScript execution environments is also detailed in this document.
Content attributes are the ones that appear in the markup:
p id="myp" class="example"> /p> In the above code id and class are attributes. Usually a content attribute will have a corresponding IDL attribute, for example doing this from JavaScript:
document.getElementById('myp').classname = 'example'Is equivalent to setting the class content attribute.
The 'IDL' comes from the Web IDL spec:
This document defines an interface definition language, Web IDL, that can be used to describe interfaces that are intended to be implemented in web browsers. Web IDL is an IDL variant with a number of features that allow the behavior of common script objects in the web platform to be specified more readily. How interfaces described with Web IDL correspond to constructs within ecmascript execution environments is also detailed in this document.
Content attributes are the ones that appear in the markup:
p id="myp" class="example"> /p> In the above code id and class are attributes. Usually a content attribute will have a corresponding IDL attribute, for example doing this from JavaScript:
document.getElementById('myp').className = 'example'Is equivalent to setting the class content attribute.
觉得可用,就经常来吧! 欢迎评论哦! html5教程,巧夺天工,精雕玉琢。小宝典献丑了!
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: What does idl attribute mean in the W3C html5 standard document?
本文地址: https://pptw.com/jishu/586410.html