5. Define the use of the following table properties. a) Captain b) Border c) Border-collapse d) height
Answers
Answered by
4
A.... CAPTAIN
The <caption> tag defines a table caption. The <caption> tag must be inserted immediately after the <table> tag. Tip: By default, a table caption will be center-aligned above a table. However, the CSS properties text-align and caption-side can be used to align and place the caption.
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 for use on <table> elements (or elements made to behave like a table through display: table or display: inline-table ). There are two values: separate (default) – in which all table cells have their own independent borders and there may be space between those cells as well.
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. Attribute Values: pixels: It sets the width of table in terms of pixels.
MAY IT HELPS U ☺️✅
Similar questions