What is HTML “is” attribute?

后端 未结 5 572
南方客
南方客 2020-12-05 14:11

I have seen it a lot here and there, yet I could find any description or documentation about it!

Example:



        
5条回答
  •  独厮守ぢ
    2020-12-05 14:28

    The is keyword is part of the W3C Draft spec for creating custom HTML elements with custom behavior.

    In specific, is is used when extending a built-in element like ,