CBSE Class 10 Computer Applications Question 30 of 125

HTML II — Images, Links and Tables — Question 21

Back to all questions
21
Question

Question 21

Choose the correct HTML to left-align the content inside a table cell.

  1. <td valign="left">
  2. <tdleft>
  3. <td align="left">
  4. <td leftalign>
Answer

<td align="left">

Reason — The "align" attribute is used to specify the horizontal alignment of the content within a table cell. By setting the "align" attribute to "left", the content inside the <td> tag will be left-aligned.