Join James Williamson for an in-depth discussion in this video The div element, part of HTML Essential Training.
…There are times when you need to structure or group content together…without explicitly passing along any type of semantic meaning.…In those instances,…you're going to use HTML's work course structuring tag the div.…Prior to Html5, the div tag or division was used for the bulk of page structuring…and for a lot of authors out there, this is still there go to structural tag.…Basically, div tags were used to divide up content and then class or…ID attributes were used to pass along the semantic meaning of the content.…
Although our new tags that are available to us in HTML5 do gives us…more meaningful alternatives in a lot of cases.…The div tag still remains a powerful option when structuring your content.…Now I'm looking at the HTML file specification.…You'll notice that I'm no longer in the sectioning content part of…the specification.…I'm in the grouping content.…So, it's a very important distinction between div and some of…the other tags we've looked at is that the div tag is used for grouping content.…
- Why is HTML important?
- Exploring an HTML document
- Formatting content
- Displaying images
- Using nav, article, and div elements
- Linking to pages and downloadable content
- Creating lists
- Controlling styling (fonts, colors, and more)
- Writing basic scripts
Skill Level Beginner
Creating a Responsive HTML Emailwith Chris Converse1h 43m Beginner
1. Introducing HTML
2. Basic Page Structure
3. Formatting Page Content
4. Structuring Content
5. Creating Links
6. Creating Lists
7. Controlling Styling
8. Basic Scripting
Next steps2m 16s
- 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.