Referencing CSS is the first step in adding styles to your web projects. In this video, learn how to update your project and run a test to make sure everything works.
- [Instructor] Let's go back to the editor…and create a new file.…This will be for our CSS.…I like to use keyboard shortcuts so…I'm going to create a new file by pressing command N.…Our control N if you're on a PC.…And then I'll save it with another…keyboard shortcut command S.…You can name this file anything you want.…But some common conventions are simply calling it styles,…global or even the project name like resume.…I'm going to stick with styles.…Just make sure that you save it…with a dot CSS a file extension.…
And also make sure to save it within your CSS resume folder.…Once you save it,…you should see it appear in your left-hand panel.…The next step is connecting it to the HTML file.…And we're going to stick with the recommended external method.…To do so we'll add in our link tag.…This link tag needs to be added within the head.…It doesn't really matter where you put it…but I prefer to add it just before the closing head tag.…
This is also a void element.…So it doesn't need a closing tag.…You do need to add the two attributes.…
- 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.