What is the reason for avoiding the attributes property in the HTML DOM?

Đăng Khánh

New member
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
 
Answer: b
Explanation: 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.
 

Tìm kiếm

Back
Top