Access to Page Elements
During the days of Internet Explore 3.0 and Netscape Navigator 3.0 (no, not as long ago as it sounds!), Web developers could access some of the elements on a Web page using script. These select elements were elements such as <a> (the anchor tag), <applet> (the applet tag), and <form> (defines a form).
NOTE
Looking back, it's amazing to think what clever Web developers managed to do using this limited capability! There was a lot of great stuff on the Web even then!
However, limits to what you could do did exist. For example, even if you wanted to access a heading, you couldn't.
Until now. With the DOM this isn't the case any more. Every single element on the Web page is now accessible. The document features a collection ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access