Images part 4

Image Border



By default, an image has no borders. Use the border attribute within the image tag to create a border around the image.
<img src="tree.jpg" height="150px" width="150px" border="1px" alt="" /> Try It Yourself

By default, Internet Explorer 9, and its earlier versions, display a border around an image unless a border attribute is defined.

Comments