Any image that’s linked has a border around the image to help indicate it is a link with older browsers. Adding border=“0” to your img tag prevents that picture from having a border around the image.
However, adding border=“0” to every image would not only be time consuming but also increase the file size and download time. To prevent all images from having a border, create a CSS rule or file with the following code.
img { border-style: none; }
Example
Related information
- How to link an image to another page in HTML.
- How to add pictures to an HTML website.
- Where can I find free public domain images and pictures?
- HTML and web design help and support.
- Computer Hope media library.