Chapter 11. Working with HTML Text Elements

Working with HTML Text Elements

In this chapter, we’ll take a look at working with various HTML elements that display text, as well as working with text using text ranges and text nodes in JavaScript.

In fact, we’ve already covered many text-handling HTML elements with JavaScript’s core HTML properties, methods, and events we saw in Chapter 5, “Using Core HTML Properties,” and 6, “Using Core HTML Methods and Events.” You can see the core HTML elements already covered in those chapters in Table 5.3—I’ll list the text-handling elements from that table here in Table 11.1. These are all HTML text elements that we’ve already covered.

Table 11.1. JavaScript ...

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.