Computer Science, asked by Meghasyam, 1 year ago

Plz help asap!!!!!! Write the program and send the pic of it or u can type

Attachments:

Answers

Answered by Anonymous
0
<table> <caption>A complex table</caption> <thead> <tr> <th colspan="3">Invoice #123456789</th> <th>14 January 2025 </tr> <tr> <td colspan="2"> <strong>Pay to:</strong><br> Acme Billing Co.<br> 123 Main St.<br> Cityville, NA 12345 </td> <td colspan="2"> <strong>Customer:</strong><br> John Smith<br> 321 Willow Way<br> Southeast Northwestershire, MA 54321 </td> </tr> </thead> <tbody> <tr> <th>Name / Description</th> <th>Qty.</th> <th>@</th> <th>Cost</th> </tr> <tr> <td>Paperclips</td> <td>1000</td> <td>0.01</td> <td>10.00</td> </tr> <tr> <td>Staples (box)</td> <td>100</td> <td>1.00</td> <td>100.00</td> </tr> </tbody> <tfoot> <tr> <th colspan="3">Subtotal</th> <td> 110.00</td> </tr> <tr> <th colspan="2">Tax</th> <td> 8% </td> <td>8.80</td> </tr> <tr> <th colspan="3">Grand Total</th> <td>$ 118.80</td> </tr> </tfoot> </table>

Output
&lt;table&gt; &lt;caption&gt;A complex table&lt;/caption&gt; &lt;thead&gt; &lt;tr&gt; &lt;th colspan="3"&gt;Invoice #123456789&lt;/th&gt; &lt;th&gt;14 January 2025 &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="2"&gt; &lt;strong&gt;Pay to:&lt;/strong&gt;&lt;br&gt; Acme Billing Co.&lt;br&gt; 123 Main St.&lt;br&gt; Cityville, NA 12345 &lt;/td&gt; &lt;td colspan="2"&gt; &lt;strong&gt;Customer:&lt;/strong&gt;&lt;br&gt; John Smith&lt;br&gt; 321 Willow Way&lt;br&gt; Southeast Northwestershire, MA 54321 &lt;/td&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;th&gt;Name / Description&lt;/th&gt; &lt;th&gt;Qty.&lt;/th&gt; &lt;th&gt;@&lt;/th&gt; &lt;th&gt;Cost&lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Paperclips&lt;/td&gt; &lt;td&gt;1000&lt;/td&gt; &lt;td&gt;0.01&lt;/td&gt; &lt;td&gt;10.00&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Staples (box)&lt;/td&gt; &lt;td&gt;100&lt;/td&gt; &lt;td&gt;1.00&lt;/td&gt; &lt;td&gt;100.00&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;tfoot&gt; &lt;tr&gt; &lt;th colspan="3"&gt;Subtotal&lt;/th&gt; &lt;td&gt; 110.00&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th colspan="2"&gt;Tax&lt;/th&gt; &lt;td&gt; 8% &lt;/td&gt; &lt;td&gt;8.80&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th colspan="3"&gt;Grand Total&lt;/th&gt; &lt;td&gt;$ 118.80&lt;/td&gt; &lt;/tr&gt; &lt;/tfoot&gt; &lt;/table&gt;<br />

Meghasyam: Wht is this
Meghasyam: I asked4 a program
Similar questions