3.4 - Tables & Lists
Review
HTML is not too hard to learn on your own. There are plenty of fantastic YouTube tutorials.
You might want to read through these if you're feeling behind:
The basic structure of an HTML document
The entire list of tags by category and by alphabet
...and Google is your best friend!
Today's Lesson: Tables & Lists
Most of this content has been moved / adjusted in our Replit team. Head there to see the lesson but read below if you're interested.
Mr. Brash will give a quick demonstration of tables:
Tables allow us to make grids of data
<table> - To start and end the table information (similar to <ol> or <ul>)
<tr> - A table row. Used to define one row of cells.
<th> - A table heading cell. Used in the top row to create "headings" for each column.
<td> - A table data cell. Creates a cell or box to hold text and media.
By default, a table has no border. You can fix this by adding border="1" (or any whole number > 0) but this gives an older-style border. If you wish to learn about dealing with borders the correct way (CSS), you should read this.
Need more help with tables? Watch this video
Homework
Follow the instructions in the Replit task for this lesson.