Create a new file and name it "tables.htm".
Add a basic HTML5 template to start building your webpage
In the head section, add the <style> tag containing the following CSS code:
CSS Code
<style>
table {
width: 100%;
border-collapse: collapse;
}
table,
th,
td {
border: 1px solid black;
}
th,
td {
padding: 10px;
text-align: center;
}
th {
background-color: #f2f2f2;
}
</style>
4. Write the HTML code to produce the table shown in the figure below