Choose the correct HTML tag to left-align the content inside a table cell
1. <td leftalign>
2. <td align=”left”>
3. <td valign=”left”>
4. <td="left">
A. Option 1
B. Option 2
C. Option 3
D. Option 4
Answer: Option B
Solution (By Examveda Team)
To left-align the content inside a table cell in HTML, you should use theThe correct syntax is
Here's why the other options are incorrect:
1.
3.
4.
Thus, Option 2 correctly uses the align attribute to achieve left alignment.
Related Questions on HTML Fonts, Tags and Elements
A. XML
B. SGML
C. ATTLIST
D. None of the mentioned
The ________ declaration specifies which characters and delimiters may appear in the application.
A. DTD
B. SGML
C. XML
D. None of the mentioned
A. Attributes
B. SGML
C. Elements
D. DTD
A. Entity
B. Attribute
C. Comment
D. None of the mentioned

Join The Discussion