From the course: JavaScript for Web Designers

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Jargon: The DOM

Jargon: The DOM - JavaScript Tutorial

From the course: JavaScript for Web Designers

Start my 1-month free trial

Jargon: The DOM

- [Instructor] There is a lot of jargon in JavaScript when you're talking about just pure JavaScript, not necessarily related to a web browser. But when you start working with JavaScript in the most common context, on the web, there's an additional layer of jargon called the Document Object Model, or DOM. The DOM is your way of accessing the outline of a page. All the elements that you've written out in your HTML are collected up in the browser and laid out visually and programmatically. So the DOM is your programmatic interface that the browser provides you to access all that stuff through JavaScript. It's a collection of methods and properties that you can use to get into each of those elements. When you're working with CSS to style your pages, that is, when you're writing CSS selectors using IDs, classes, tag names, all that kind of stuff, you're also working with a Document Object Model, just through a different…

Contents