Multiple choice technology web technology

Choose the correct HTML to left-align the content inside a tablecell

  1. <td leftalign>

  2. <td valign="left">

  3. <td align="left">

  4. <tdleft>

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The align="left" attribute is the correct HTML way to horizontally align content within a table cell. Option B incorrectly uses valign (which is for vertical alignment), while options A and D use non-existent attributes. This attribute applies to td, th, and tr elements.