Join James Williamson for an in-depth discussion in this video Controlling content formatting, part of HTML: Building Tables.
- While adding borders gives our table…a little bit more definition,…we still need to turn our attention…to formatting the table's content.…And we'll start off by formatting our caption.…I've open up tables.htm…from 02_02 directory…in a browser and you can see the caption--…or right now just this basic table elements.…It's formatted just like all the rest of the text…except for it's sort of aligned to the center…and that's kind of the default for captions.…They appear at the top of the table…and typically they're centered…and if you don't like that, you can change that.…
Right now we just want to change…the visual formatting of that.…So I'm going to jump back in to my code editor.…I'm working, again, on the tables.htm…and the styles.css that are found…in the 02_02 directory.…So I'm going to go into my styles…and just below the table selector,…but above the td selector,…I'm going to create a brand new one.…and I'm just going to do captions.…We're just going to target our caption.…Again, I really like to open and close…
- Adding content to tables
- Defining table headers
- Styling borders
- Alternating table row colors
- Grouping table content
- Defining columns and headers
- Making table data accessible
Skill Level Beginner
Creating a Responsive Presentation in HTML5with Justin Putney1h 24m Intermediate
Creating a Responsive HTML Emailwith Chris Converse1h 43m Beginner
1. Table Basics
2. Styling Tables
3. Adding Meaning
Additional resources3m 47s
- 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.