From the course: Practical HTML for No-Coders

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Working with classes, div, and span

Working with classes, div, and span

From the course: Practical HTML for No-Coders

Working with classes, div, and span

- [Instructor] I'm sure after looking at these ugly web pages for a while, you're ready for a splash of color. So next, up let's talk about CSS classes and the HTML div and span tags. CSS stands for Cascading Style Sheets, the way the web looks pretty. As you know, pretty isn't coming from your HTML, which reflects only the structure of the page. CSS is set up in a separate document, which we can take a quick peek at. It is here inside of this CSS window, if you grab and you pull it on up here, this is going to show you that CSS looks different than HTML's form differently. It looks completely different. We have a couple of different types of styles that are demonstrated here in the CSS. So these first two might be ones that you somewhat recognize. We have one called body and we have one called h2. h2 you should certainly recognize, that's an HTML element, and it's responsible for putting in a border on the bottom of…

Contents