From the course: HTML for Programmers

Unlock the full course today

Join today to access over 24,500 courses taught by industry experts.

Create a class schedule

Create a class schedule

- [Instructor] Given the following mockup, create a class schedule for your university semester. Remember to focus on the content and not the style. Pause the video here and code your solution. When you're ready, come back and we'll walk through the solution together. For this class list, we'll use the table element. The first row of the table is the table header, so we'll use the thead element. Inside the table header, we have one table row with five pieces of table data: Class, teacher, room, day and time respectively. We'll use the tr and th elements for these pieces of data. Now that the table header is complete, let's add the table body. For this, we can use the tbody tag. Let's create our first row. Similarly to the table header, we have five pieces of data, each of which gets placed inside of a td element, for table data. We can add the next four rows in exactly the same way. And that's it. If we look at our…

Contents