O'Reilly logo

The Definitive Guide to HTML5 by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  28

Working with DOM Elements

In the previous chapter, some of the features of the HTMLElement object leaked through into the discussion of the document-level features. We can now turn our focus toward the element object itself and give it the attention it deserves. In this chapter, I'll show you the different HTMLElement properties and methods, and demonstrate how to use them. Table 28-1 provides the summary for this chapter. Please note that not all of the examples work in all of the mainstream browsers.

Image

Image

Working with Element Objects ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required