What is the purpose of the Attr object in the HTML DOM?
A
Used to focus on a particular part of the HTML page
B
HTML Attribute
C
Used to arrange elements
D
CSS attribute
Correct Answer: HTML Attribute
When a web page is loaded, the browser creates a Document Object Model of the page. In the HTML DOM, the Attr object represents an HTML attribute.