Computer Science, asked by desaianokhi, 8 months ago

What is the html coding to make the following table The one whose answer is the best I'll mark it as brainliest Pls help it's urgent I trust you'll that you will help me.

Attachments:

Answers

Answered by StephenDeva
0

Answer:

<!DOCTYPE html>

<html>

<head>

<style>

table, th, td {

border: 1px solid black;

}

</style>

</head>

<body>

<table>

<tr>

   <th rowspan="2">items</th>

   <th colspan="3">99 pancakes</th>

</tr>

<tr>

   <td>shop1</td>

   <td>shop2</td>

   <td>shop3</td>

 </tr>

<tr>

   <td>Butter</td>

   <td>3 packets</td>

   <td>10 packets</td>

   <td>1 packets</td>  

 </tr>

 <tr>

 <td>Hershey</td>

 <td>3 packets</td>

 <td>5 packets</td>

 <td>7 packets</td>

 </tr>

 <tr>

 <td>Nutella</td>

 <td>10 jars</td>

 <td>5 jars</td>

 <td>1 jars</td>

 </tr>

</table>

</body>

</html>

Explanation:

I didn't add colours in the cells. I think you can do it by urself ☺ thank you

Similar questions