课程: HTML: Tables
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Group columns and apply to headers
- [Instructor] If you've noticed our data, you'll see that we have some retail prices and some case prices for our products. We may want to group these columns to show a relationship between these kinds of prices. The way to do this is with a combination of a col group tag, and the col tag. And that's going to spell out a model that we can then apply to the actual HTML tags that make up our table. It's kind of like a model that runs on top of that code. So, we'll start with the col group tag, and that should be placed just after the caption and before any T head that you have there in the document. And we'll go ahead and put it in this way. We have col group. And then, of course a slash col group. And then in between the col group tags, we're going to put in a series of tags that are simply col. And we need to account for seven columns because that's what we have spelled out in the rest of the document. And, so, we have to have at least seven of these cols in one form or another. So…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
(已锁定)
Display data semantically2 分钟 44 秒
-
(已锁定)
Understand table rows and table data5 分钟 13 秒
-
Add content and data to table cells4 分钟 57 秒
-
(已锁定)
Understand table headings2 分钟
-
(已锁定)
Identify table head, body, and foot5 分钟 37 秒
-
(已锁定)
Include table captions2 分钟 32 秒
-
(已锁定)
Group columns and apply to headers5 分钟
-
(已锁定)
Use colspan and rowspan4 分钟 25 秒
-
(已锁定)
Challenge: Mark up a table2 分钟 42 秒
-
(已锁定)
Solution: Mark up a table3 分钟 49 秒
-
(已锁定)
-
-
-