What is HTML Role attribute

Can anybody explain me the HTML role attribute. and please don't confuse me with w3.org's definition because I m not able to understand that. thanks


Google a little? They are just to define the role of an element, as you may have guessed from it's name...

Here's an answer about why you should use them anyway: https://stackoverflow.com/a/18664038/3911834

链接地址: http://www.djcxy.com/p/36626.html

上一篇: 什么是HTML5中角色属性的重要性?

下一篇: 什么是HTML角色属性