Lab4-Color Table
The directions for lab 4 was to create a table made up of hues and the corresponding hexadecimal value for the hue. In order to complete this lab a new HTML tag was introduced, the <table> tag which creates a table. however that isn't the only tag necessary to complete the lab we also needed to use the <tr> and <td> tags. tr signified a row on the table and td signified a row in the table; with all three tags we could create and manipulate a table into what we needed. The actual table we created consisted of three columns and twenty rows. The three columns are the color name, hexadecimal value, and the actual hue. Each row had a different hue and the first row is the titles for the columns.
We didn't have regular colors, such as red or blue, we had absurd hues that had names you only see on crayons like Dark Magneta and Midnight Blue. Of course we didn't know the hexadecimal value of the hues; therefore we used w3schools to search up the values, it had its own webpage dedicated to listing the hexadecimal value of hues.
Now actually putting the hue into the table was a completely new concept to me, but in reality it was a simple process. in the <td> tag you would put bgcolor="the hexadecimal value of the hue", and it will actually show the color you intended. It would look something like this: <td bgcolor="#BC8F8F"> which is the hexadecimal value of RosyBrown.
The purpose of this lab was to introduce us to the table tag and a little bit of how to decorate webpages because
before all of the websites would just be in black and white, but now we can add color to our pages.
We didn't have regular colors, such as red or blue, we had absurd hues that had names you only see on crayons like Dark Magneta and Midnight Blue. Of course we didn't know the hexadecimal value of the hues; therefore we used w3schools to search up the values, it had its own webpage dedicated to listing the hexadecimal value of hues.
Now actually putting the hue into the table was a completely new concept to me, but in reality it was a simple process. in the <td> tag you would put bgcolor="the hexadecimal value of the hue", and it will actually show the color you intended. It would look something like this: <td bgcolor="#BC8F8F"> which is the hexadecimal value of RosyBrown.
The purpose of this lab was to introduce us to the table tag and a little bit of how to decorate webpages because
before all of the websites would just be in black and white, but now we can add color to our pages.
Comments
Post a Comment