Jen Kramer introduces the div and span tags, used for containing CSS classes to direct web page styling.
- [Instructor] I'm sure that after looking…at these ugly web pages for quite a while…you're ready for a splash of color.…So, next up let's talk a little bit about CSS classes…and the HTML tags called div and span.…CSS stands for Cascading Style Sheets.…This is the way that the web looks pretty.…As you know, pretty isn't coming from your HTML…which reflects only the structure of the web page.…CSS is set up as a separate document…which we can take a quick peak at.…So, if you take a look at the HTML file…I've given you which is 1-13-begin.html…inside of your Exercise Files folder…you'll see here…that in the head of our document…we have another line of code…on line six and this is a link to your style sheet…and it's a giveaway…'cause says rel stylesheet…and there's a CSS that appears here…in the file name.…
So, if we go ahead and open that file name…which is also in your Exercise Files folder…this is a bunch of styles that have been applied…to that particular web page.…Now, there's a couple of different kinds of styles…
- Working with head and body tags
- Nesting one list inside of another
- Creating links within a page
- Linking to PDF files
- Quoting and citing text
- Fixing HTML in MailChimp
Skill Level Beginner
1. Understanding HTML
Next steps1m 15s
- 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.