Modifying Element Attributes

Element.getAttributeNames() #

Use the Element.getAttributeNames() function to get an array containing the names of the HTML element’s attributes.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy