Chapter 6. Using Core HTML Methods and Events

Using Core HTML Methods and Events

In the preceding chapter, we saw Java Script’s core HTML properties; in this chapter, we’ll take a look at JavaScript’s core HTML methods and events. You can find JavaScript’s core HTML methods and events in Table 6.1, and we’ll cover them all in this chapter.

Tip

Note the capitalization in Table 6.1; methods use the Java capitalization scheme—for instance, removeChild—but events are all in lower case, such as onmousemove. Some books use the Java capitalization scheme for events too, such as onMouseMove, but that’s incorrect; it’s really onmousemove and because capitalization counts in JavaScript, using ...

Get Inside JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.