CIS 119 - Choosing page elements by tag name
Objectives
- select and modify page elements with a specific tag name
document.getElementsByTagName
- you can use a loop to access all of the elements selected using getElementsByTagName
- see onclick3.html for an example of using document.getElementsByTagName
- libraries such as jQuery greatly expand the ability to specify sets of elements
- libraries such as jQuery greatly expand the ability to work with sets of elements