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 are default browser styles? - CSS Tutorial
From the course: CSS Fundamentals: Unlock the Power of Web Styling
What are default browser styles?
- [Instructor] Have you ever opened an HTML file that didn't have a style sheet? If so, it might have looked something like this. Now, some people would refer to this as unstyled content, and while it certainly does look that way it's not entirely accurate. Before users were allowed to control HTML pages through cascading style sheets, browsers had to have some way of displaying HTML content visually. These were called default browser styles or user agent styles. Essentially, those default styles provide some basic structure to elements on a page so that you're not just looking at a big jumble of text and images and such. There is some order here. Now, each browser has its own default styles, which means that the same markup can appear inconsistently from browser to browser. Ask any developer who's been around a while about the struggle of getting a design to look the same across multiple browsers. And they'll tell you…
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
-
-
-
-
-
-