开发者

Inspect element attributes with Google Chrome

Although the Google Chrome developer tools show the properties of a selected element, it doesn't list the attributes.

开发者_运维百科

Am I missing something?


Under properties, click the top expandable menu. It should have all the attributes.


Just right click on the element you want to inspect and choose "Inspect element". In the bottom panel select Elements tab. It will show the DOM element with the attribures in the form of HTML.


  • Open Inspect Element by right clicking on the element or any other way you want.
  • Find the element you want to add the attribute in.
  • Right click on the attribute in Inspect Element. Click Add Attribute

Inspect element attributes with Google Chrome

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜