Lists and Tables in HTML: Teaching Computer Programming To Kids : Lesson #5

Cate started to learn about creating lists of things and tables in HTML

<UL>

: to create an Unordered List of items

<LI>

: to start a List Item

<OL>

: to start to create an Ordered Lists and the computer will add the numbers automatically

Then if we want to create a table to remember things like the gifts that Cate got for Christmas from all her relatives from since was born, then we can use a table.

<table>

: to start creating the table

<tr>

:to create a row

<td>

: to create a column

So the following would show what Dad and Mom gave for gifts in 2001 and 2002

<table>
<tr><td>person/year</td><td>2001</td><td>2002</td></tr>
<tr><td>Dad</td><td>blanket</td><td>socks</td></tr>
<tr><td>Mom</td><td>gloves</td><td>wrap</td></tr>
</table>

person/year 2001 2002
Dad blanket socks
Mom gloves wrap

—-
This is a series that documents my daughter’s curiosity to learn about computer programming
—-


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *