gpt-3.5-turbo-0613· openai
Suzhen/CodeChat
generate html code of table where cells has width of 50% in first row, 25% in second and…
- User
generate html code of table where cells has width of 50% in first row, 25% in second and 8% in third
- Assistant
Sure! Here is the HTML code for the table you mentioned:
<table> <tr> <td style="width: 50%;">Cell 1</td> <td style="width: 50%;">Cell 2</td> </tr> <tr> <td style="width: 25%;">Cell 3</td> <td style="width: 25%;">Cell 4</td> </tr> <tr> <td style="width: 8%;">Cell 5</td> <td style="width: 8%;">Cell 6</td> </tr> </table>In the first row, the cells have a width of 50% each. In the second row, the cells have a width of 25% each, and in the third row, the cells have a width of 8% each.