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 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