Back to lesson
1. What does getElementsByTagName do?
It allows us to manipulate an HTML element by its tag name
2. What does getElementsByClassName do?
It allows us to manipulate an HTML element by its class name
Manipulate an HTML element by ID
Add CSS to the web page
3. What does the .attribute property allow us to do?
Change the structure of an HTML document
Manipulate HTML attributes
Back to the top
© 2017 GoSkills Ltd.
Skills for career advancement