The size property contains two numbers separated by comma, and a space. These numbers are . . . . . . . .

[amp_mcq option1=”width in pixel, height in pixel” option2=”height in pixel, width in pixel” option3=”height in cm, width in cm” option4=”width in cm, height in cm” correct=”option1″]

The correct answer is: A. width in pixel, height in pixel.

The size property contains two numbers separated by a comma and a space. These numbers represent the width and height of the element in pixels. For example, if the size property is set to “100, 200”, then the element will be 100 pixels wide and 200 pixels high.

Option B is incorrect because the height comes first in the size property.

Option C is incorrect because the units are in pixels, not centimeters.

Option D is incorrect because the width comes first in the size property.

Exit mobile version