Join James Williamson for an in-depth discussion in this video Setting table attributes, part of HTML: Building Tables.
- Tables have multiple attributes…that allow you to modify certain visual aspects…of the table itself.…Although most of these attributes have been deprecated…in HTML5, it is important to know about them,…their functionality and when, and even if,…it's appropriate to use them.…So to kind of show off these attributes,…I'm gonna work with the tables.html file…from the 01_04 folder.…Now, currently we only have one attribute…applied to our table,…and that is the border="1" attribute.…If I flip over to my browser and open this page up,…you can kind of see what a border of 1 looks like.…
We just have the default HTML border around our table.…And a lotta people really don't like this border. (laughs)…I'm one of them.…But what you're seeing here is the user agent's border,…so it's gonna look different from browser to browser…or user agent to user agent.…It's just gonna be whatever default border they wanna use.…Now, in the past, we've been able…to go into this border value and change it.…So, for example, I could come in…
- 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.