CSS works closely with HTML, but is its own language with its own rules. Learn about the syntax, terminology, and naming conventions.
- [Narrator] Now that we have all our files in HTML…ready to go, let's dive into CSS.…It's a different language from HTML,…so it has its own syntax rules.…CSS is used to add styles and separates…the presentation from the content.…You may have seen HTML tags in the…past that we used for styling,…such as the classic blink or center tag.…These presentational HTML tags have been deprecated…and are no longer officially supported by modern browsers.…
Selectors are used to determine which HTML…element to apply the styles to.…Declaration blocks contain the style rules,…they are wrapped in curly braces…to contain these styles to the specific selector.…The declarations are the style rules,…and are written using property:value; pairs.…The property name is followed by a colon and ends…with a semicolon, to indicate that the rule is complete.…Properties determine the type of…style to be applied to the element.…
And values are specific to that property,…and will vary depending on the property type.…Let's take a look at the TESSy access…
- Creating a CSS file
- Writing basic selectors
- Setting properties
- Using different typefaces and web-safe fonts
- Understanding cascading and inheritance
- Setting a font family, font size, text color, and more
- Understanding the box model
- Using the float property
Skill Level Beginner
1. Getting Started
2. CSS Core
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.