Computer Science, asked by chaudharydevansh426, 6 months ago

h) How will you add border to an image?(with example.​

Answers

Answered by santanumandal861
1

Answer:

In this snippet, we will show how to add a border to the image. The <img> element has a border attribute that is not in use in HTML5.

...

Add CSS¶

Add style to your <img> element.

Define the width of the image.

Define the width, style, and color of the border with the help of the border property.

Similar questions