课程: HTML: Tables

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Solution: Mark up a table

Solution: Mark up a table - HTML教程

课程: HTML: Tables

Solution: Mark up a table

(upbeat music) - [Instructor] So how did you do with that table challenge? I'm going to go ahead and walk you through what I did and why here in this particular document. So, first of all remember that we are not really working with any styling here at all and so, this is going to wind up being a really ugly looking table, kind of hard to read, and we will definitely address styling here at a future point, but it should probably look something like this, if you put in no styles whatsoever. So, let me just walk through this code with you from the beginning here. So, of course, this is the table. We start with a table tag. We're going to end with a table tag, all the way down here at the bottom. Then we're going to divide this into pieces, so remember that the very first child, or the very last child of the table must be the caption and I've given it an ID here. Now you didn't have to do that, the ID we're going to leverage in a couple of chapters when we start talking about responsive…

内容