[amp_mcq option1=”size” option2=”tab-size” option3=”tab-space” option4=”all of the mentioned” correct=”option2″]
The correct answer is: B. tab-size
The CSS property tab-size specifies the length of the space used for the tab character. It is a length value, which can be expressed in any of the following ways:
- A number, followed by a unit of length, such as
1emor20px. - A percentage, such as
50%. - A keyword, such as
normalorinherit.
The default value of tab-size is 4, which means that a tab character will take up four spaces.
The following example shows how to use the tab-size property to set the length of the space used for the tab character:
css
p {
tab-size: 2em;
}
In this example, the p element will use a tab character that is two ems wide.
The size property is used to specify the font size. It is a length value, which can be expressed in any of the following ways:
- A number, followed by a unit of length, such as
1emor20px. - A percentage, such as
50%. - A keyword, such as
normalorinherit.
The default value of size is 16px.
The tab-space property is not a valid CSS property.