Define the use of the following table properties. a) Captain b) Border c) Border-collapse d) height
Answers
Define the use of the following table properties:-
a) Captain b) Border c) Border-collapse
d) height
Answer:-
a) Caption:- The <caption> tag defines a table caption. The <caption> tag must be inserted immediately after the <table> tag.
b) Border:- The HTML <table> border Attribute is used to specify the border of a table. It sets the border around the table cells. Attribute Values: 1: It sets the border around the table cells.
c) Border - collapse:- The border-collapse property is used to specify the border model of a table. It specifies whether the borders of the table and its table cells should be “joined” or separated.
d) height:- The HTML <td> height Attribute is used to specify the height of the table cell. If the <td> height attribute is not set then it takes default height according to content.
Answer:
The answer is HTML (table) border attribute