Friday, October 9, 2015

Lab 4 Tables in HTML

      In this lab, we will be creating a table containing 16 different colors with their name, hexadecimal, and hue. To add colors in html files, you can type in their name for the basic color. And for other colors that are more complicated, you can type in it's hexadecimal number, which is a code, mostly a 6 letters and numbers combination that represents the color in html. To make a table, we first have to understand the tags for the tables. The <table> tag is to create a table. The <tr> is a row, <th> is a title/heading of a division, and <td> is a division.

      First, we make the heading with our name, date, class and lab number.I add the same background and font color as usual. Then use the <table border="1"> to make the table. Without the 'border="1"' part, you will not see your a border of the table. Since we are adding 16 colors into the table, we have to type the same tags 1 row and 3 divisions 17 times including the title.It wasn't difficult, but took me quit a while.Into the table, we add 11 basic colors that we found online. Then we had to pick 5 special colors from a really huge paper filled with many different colors and add them into the table. I gave a special order the colors in my table, so the colors that are similar won't be near each other, in result it looks more interesting and more
colorful.

      The link to this lab:
http://techteach.us/DD2015/HJiahua/Labs/Lab4/LB4_Jiahua_DD.html

No comments:

Post a Comment