From the course: CSS Fundamentals: Unlock the Power of Web Styling
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
What options are available to write your styles? - CSS Tutorial
From the course: CSS Fundamentals: Unlock the Power of Web Styling
What options are available to write your styles?
- [Narrator] When authoring CSS, you have a few options available as to where you can write your styles. In this lesson, I want to cover those options and how they'll impact your overall site. Styles can essentially be located in one of three locations. First, you can write CSS in a separate file, which is called an external style sheet. Second, you can place styles in the head of an existing HTML document, this is referred to as embedded styles. And finally, you can apply styles directly to an HTML element, which is referred to as inline styles. Let's take a look at each of these in more detail. External style sheets are simply text files with a .css extension. You'll commonly see them named style.css or styles.css, but the name doesn't matter, so long as it has a .css extension. You can author them with any text editor and they'll generally hold multiple styles that are used to control an entire site or maybe a…
Contents
-
-
-
What is CSS?3m 52s
-
(Locked)
What are default browser styles?2m 41s
-
(Locked)
What is basic CSS lexicon?3m 22s
-
(Locked)
What are basic selector types?4m 3s
-
(Locked)
What are CSS combinators?2m 18s
-
(Locked)
How does CSS work with HTML?4m 40s
-
(Locked)
What options are available to write your styles?2m 44s
-
(Locked)
How do browsers render styles?3m 53s
-
-
-
-
-
-