Which of the following property is used to set order in a table?

border
padding
dotted
text

The correct answer is: A. border

The border property is used to set the width, style, and color of the border around a table. The border can be set for the entire table, or for individual cells or rows.

The padding property is used to set the amount of space between the content of a cell and the border of the cell.

The dotted property is a type of border style. It creates a border with a series of small dots.

The text property is used to set the font, size, and color of the text in a table.

Here is an example of how to use the border property

288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2-142.7 81.2z"/> Subscribe on YouTube
to set the width, style, and color of the border around a table:

“`html

This is a table
This is another table

“`

In this example, the border around the table is 1px wide, solid black, and appears on all four sides of the table.

Exit mobile version