The image border attribute

The browser will render an image as it is. To add the black border to the image, add the border attribute of the element.
snippet

<html>
<head></head>
<body>
No Border
<img src="logo.jpg">
Image with border
<img src="logo.jpg" border="2">
</body>
</html>

Output
No BorderImage with border
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +