menu search
brightness_auto
more_vert
0 1

Explain the width attribute of <TABLE> tag.

Topic Working with tables in HTML
Type Short answer
Class 10

thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike

1 Answer

more_vert
0
The width attribute is used to set the absolute width of the table. The values in width attribute can be either in pixel or in percentage of the browser window.
e.g.
<TABLE width = "150">
<TR><TD>Cell1</TD><TD>Cell2</TD></TR>
<TR><TD>Cell3</TD><TD>Cell4</TD></TR>
</TABLE>
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike

Related questions

thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
0 answers
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
1 answer
...