Answers for "width td table"

5

html table td width

<tr>
    <td style="width:70%">January</td>
    <td style="width:30%">$100</td>
</tr>
Posted by: Guest on September-05-2021
0

table td data in middle

vertical-align: middle
Posted by: Guest on November-26-2020
0

How to increase the cell size in table in html?

<table width = 80% height = 50%> <!-- You can set the height and width by using the height and width attributes with table tag and writing the size in %age (percentage). -->
	<tr align="center">
      <th>Question</th>
      <th>Answer</th>
	</tr>
  <tr>
    <td>1 + 1 = </td>
    <td>2</td>
  </tr>
  <tr>
    <td>2 + 2 = </td>
    <td>4</td>
  </tr>
</table>

<!-- You can try this in your code editor by copying this to your code editor -->
<!-- Thank you if this helped you and Sorry if it didn't worked for you -->
Posted by: Guest on October-24-2020

Browse Popular Code Answers by Language