0
Can all attribute of an html tag be accessed as a property in javascript?? 🤔🤔
3 Antworten
+ 8
Yes... all of it
javascript can do everything you know
+ 1
Yes, here is an example:
let node = document.querySelector("a");
let href = node.getAttribute("href");
0
Thanks