What is the reason for avoiding the attributes property in the HTML DOM?
A
Found unnecessary
B
Attributes don’t have attributes
C
Attributes have attributes
D
Considered irrelevant
Correct Answer: Attributes don’t have attributes
When a web page is loaded, the browser creates a Document Object Model of the page. The reason for avoiding the attributes property in the HTML DOM is because Attributes don’t have attributes.