Which of the following property is used to set the width of an image border?

border
height
width
#NAME?

The correct answer is: A. border

The border property is used to set the width of an image border. It takes a value in pixels, such as “10px”.

The height property is used to set the height of an image. It takes a value in pixels, such as “100px”.

The width property is used to set the width of an image. It takes a value in pixels, such as “200px”.

The -moz-opacity property is used to set the opacity of an image. It takes a value between 0 and 1, where 0 is fully transparent and 1 is fully opaque.

Here is an example of how to use the border property to set the width of an image border:

html
<img src="image.jpg" border="10px solid black">

This will set the width of the image border to 10 pixels, and the color of the border to black.

Exit mobile version