今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Project: Creating a CSS file
- [Instructor] Now that we've completed all the project prep and HTML updates, the next step is to create a CSS file. In the editor, go to File, New File, or use the keyboard shortcut Command or Control + N. The CSS file can have any name, but it's common to use global, the project name, or styles, which is what I'll be using. Save it with a .css file extension. And add it to your CSS folder. Back in the index.html file, add the link tag, which can be included anywhere within the head section. I'll add mine under the title tag. Let's use the autocomplete shortcut again. Type the element name, link, but without the angled brackets, then press the tab key. Reminder, this is a void element, so it doesn't need a closing tag. Let's update the href value to point to the CSS file. Add the folder name first, which is css/ then the file name. Save the file, then copy this line and add it to the resume.html page as well. When…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
HTML and CSS1 分钟 10 秒
-
(已锁定)
Working with website files3 分钟 25 秒
-
(已锁定)
Writing code with a text editor3 分钟 40 秒
-
(已锁定)
Customizing your text editor3 分钟 29 秒
-
(已锁定)
Project: Overview and setup7 分钟 46 秒
-
(已锁定)
Where to find images2 分钟 52 秒
-
(已锁定)
Optimizing images for the web3 分钟 41 秒
-
(已锁定)
Relative and absolute paths2 分钟 43 秒
-
(已锁定)
Project: Adding images and icons7 分钟 13 秒
-
(已锁定)
Referencing CSS2 分钟 44 秒
-
(已锁定)
Project: Creating a CSS file3 分钟 4 秒
-
-
-
-
-
-
-
-