How to Remove the Blue Border Around Linked Images on a Webpage Are you still troubled by the blue border that appears when adding hyperlinks to images on a webpage? Here’s a simple method to fix it effortlessly. The solution: The common 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 highly inefficient. However, if you notice that one type of CSS Selector targets HTML tag elements directly, things become much easier.
img{border:0px}