课程: HTML: Tables

今天就学习课程吧!

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

Understand table rows and table data

Understand table rows and table data - HTML教程

课程: HTML: Tables

Understand table rows and table data

- [Instructor] Let's get started with coding some tables with HTML. I'm going to work here in Codepen to make things easier to see immediately and keep the focus on our code rather than working in something like VSCode where we would have to write the HTML and then individually view it in a browser. To keep this really simple for now, I'm going to start by minimizing these windows here. You just grab them and drag them on down. The only window that we're going to need is our HTML window and I'll make that just a little bit bigger so we can see what's going on here. The next thing that I'm going to do is I'm just going to go ahead and get started writing a table. And shockingly, that starts with a table tag. And it finishes with a /table tag. Just like a lot of things in HTML. So that's the way you start and end a table, what goes inside of that? Well a couple of things. The next thing you should be aware of are rows. And those are tr for table row. And they have a starting and ending…

内容