From the course: The DOM in JavaScript, jQuery, AngularJS, and React

Unlock the full course today

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

CSS properties and the DOM

CSS properties and the DOM

From the course: The DOM in JavaScript, jQuery, AngularJS, and React

Start my 1-month free trial

CSS properties and the DOM

- [Instructor] A webpage is made of three layers: the structure layer, presentation layer, and the behavior layer. The first layer of the structure is where the HTML markup tags are written in. So, if you look at this page, if you look at the Elements window, that is the DOM Tree; that's the physical layer, the physical structure that forms this webpage. The second layer is the presentation layer, which is where CSS and styling rules exist; this is where we apply the formatting, the colors, the font sizes, the screen background, all these special features to a webpage. And then the third layer is the behavior; this is where JavaScript lives. So, in this movie going to talk about the second layer, the CSS. CSS is the acronym for Cascading Style Sheet, and it's a presentational language, meaning that it's used to describe and format structured documents, such as this one, an HTML document, and it is tightly integrated into every browser, just like JavaScript is, so you don't have to do…

Contents