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.
下一篇: 通过java记录数据持续变化时间代码解析