How to remove the blue border around images used as hyperlinks on a webpage? Are you still bothered by this issue? Here’s a simple method to fix it easily. The typical approach is to add border="0" to the img tag. While this works, if you have N such images, you’d have to manually add border="0" N times, which is terribly inefficient. In fact, if you notice that CSS selectors include a type specifically targeting HTML tag elements, things become much more convenient.
img{border:0px}