How can you eliminate the any color of border around linked images on web page?

I have used a method which is done by the help of CSS.
This can be done by specifying the border property for linked images in your CSS as none:
For e.g.
a img { border: none ; }

If Anyone know any other solution then tell me immediately,i want to implement it on my web page ?

What’s wrong with the solution you have? The border is how it’s rendered by default in HTML, and CSS is the language meant for changing those defaults. Plus you’ve used a succinct piece of code that is easy to read and recommended by lots of people.

There may be other ways to go about it, but I suspect they’d be needlessly convoluted compared to what you have already.

BOOM! (Not a recommended solution, use CSS)

<img src="http://placekitten.com/g/200/300" onclick="location='http://www.kirupa.com'" style="cursor:pointer" />
1 Like