Please code the following using HTML and CSS. The HTML for a table is provided b
ID: 3796869 • Letter: P
Question
Please code the following using HTML and CSS.
The HTML for a table is provided below. Put this table on a web page named I3p3.html and create a link to it from your index page. Write a document level style sheet for the page that centers the table (left to right) on the page, uses Verdana, Geneva, Arial, or sans-serif for the font family (in that order), and colors and backgrounds as shown in the image. Note: you will not have to include CSS for borders; you will get white automatically in the cell margins. You do not have to match my colors exactly, but the background of the odd-numbered rows must be light blue and the even numbered rows must be light green. The background of the heading must be dark green. (Try a search on "HTML color chart.") Here is the HTML for the table. You will probably want to add class attributes to some of the elements.Explanation / Answer
HTML program l3p3 with class attributes and index program for hrperlink reference are below.
l3p3.html
</html>
Index.html
<html> <body> <center> <style type="text/css"> td.datacellone { background-color: #33FF94; color: black; } td.datacelltwo { background-color: #44D086; color: black; } </style> <table> <h2><tr class="datacell">I.T News</tr></h2> <tr><td class="datacellone">Disable UPnP</td><td class="datacellone">p. 7 </td></tr> <tr><td class="datacelltwo">New, Bigger iPhone</td><td class="datacelltwo">p. 9</td></tr> <tr><td class="datacellone">Microsoft Office 2013</td><td class="datacellone">p. 2</td></tr> <tr><td class="datacelltwo">Encryption News< /font ></td><td class="datacelltwo">p. 2</td></tr> </table> </center> </body></html>
Index.html
<html> <body> <center> <a href=file:///C:/Users/User/Desktop/l3p3.html">l3p3</a> </center> </body> </html>Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.