0
Can all attribute of an html tag be accessed as a property in javascript?? đ€đ€
3 Answers
+ 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