课程: HTML Essential Training (2020)
今天就学习课程吧!
今天就开通帐号,24,600 门业界名师课程任您挑!
Building table rows
- To create an HTML table, you use several different HTML elements in just the right combination. Table, TR, TH, and TD. Here, let's list them for you in a table. The table element wraps around the whole table, around all our content and markup for that table, marking the beginning and end of the table itself. The TR element stands for table row. It wraps around a set of elements, defining them as belonging to the same row. The TH element stands for table header. It defines a header for a column, and the TD element stands for table data. It marks up the cells of data. Let's go through this using a simple example. Here's some content that belongs in a table. Let's get this into HTML. We start with a table element to mark the beginning of the table. Of course we'll close it at the end, so let's do that now. This table has six rows, five rows about five different birds, and a top row, which contains the header for each…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。