img { border: solid #000 10px; }
this applies to every image tag in the HTML document
.classy { color: red; }
this applies to a CSS class called classy.
<span class="classy" > Example of classy red text </span>
#about { background-color: #ccc; }
This rule applies to just the specific element that has an ID value of about:
Homework :
Keep working on "project_a"
"Work in progress" w/CSS is due next class.
- This means that (next week) you should have a "rough draft" of your website.
- Please have your images, CSS, and HTML pages neatly saved in one directory (proj_a).
- All html pages should be properly linked.
- "Lorem Ipsum" text is alright for now.
Note:
- no need to upload your homework this week : )
Next Week:
- Uploading to a server
*Continue working on 1st project