How to create images as links with no borders

Updated: 01/24/2018 by Computer Hope

Any image that has a link has a border around the image to help indicate it is a link with older browsers. Adding border="0" to your IMG HTML tag will prevent that picture from having a border around the image.

<A HREF=""><IMG SRC="" border="0" alt="Logo"></a>

However, adding border="0" to every image would not only be time consuming but also increase the file size and download time. If you don't want any of your images to have a border, create a CSS rule or CSS file that has the below code in it.

img { border-style: none; }


Computer Hope Logo