Image Object
The border property sets or returns the value of the border attribute of an image.
The border attribute specifies the width of the border around an image.
Note: An image has no border by default (unless the image is inside an a element).
![]()
The border property is supported in all major browsers.
Add border to an image:
Image Object
Your message has been sent to W3Schools.