CALL NOWCALL NOWCALL NOWGATEWAY SELECTORCALL NOWGATEWAY SELECTORLEARN MORELEARN MORE PROCEED TO CHECK-OUT SUBSCRIBE TO OUR RSS FEED SEARCH GATEWAYS NOW SEND MESSAGE NEWSLETTER | SUBSCRIBESUBMIT CALL NOWCALL NOWCALL NOWGATEWAY SELECTORCALL NOWGATEWAY SELECTORLEARN MORELEARN MORE PROCEED TO CHECK-OUT SUBSCRIBE TO OUR RSS FEED SEARCH GATEWAYS NOW SEND MESSAGE NEWSLETTER | SUBSCRIBESUBMIT

Blue hyperlink border around images in HTML

When you add a hyperlink to an image in HTML it will automatically display with a blue border around that image. We don’t want it because it makes our page look ugly and unprofessional.

There are a couple of ways to remove the blue hyperlink border:

Using CSS
Add the following line to your style sheet code:

img { border-style: none; }

Using HTML
Add the following attribute to your image HTML code:

border="0"

Your line of code should look like this :

5 Comments on Blue hyperlink border around images in HTML

5 Responses to “Blue hyperlink border around images in HTML”

  1. Ashok says:
    October 27, 2010 at 12:16 pm

    Great trick. That helps!

    Reply
  2. eden says:
    February 1, 2011 at 6:25 am

    fantastic! just what i was looking for. thanks

    Reply
  3. shisu says:
    June 14, 2011 at 9:57 pm

    thanks for ur little help this blue border is annoying..

    thanks a lot ..

    Reply
  4. gautam says:
    April 6, 2012 at 11:28 pm

    hey thanks a lot…. :)

    Reply
  5. Archana AKR says:
    May 14, 2016 at 4:16 am

    it realy helped me ^_^

    Reply

Gateway Selector

Select your combination of protocols.
Protocol 1
Protocol 2

Contact Us

Contact us via phone (+1 866-383-1657) or leave a detailed message below for sales, support, or any other needs

*Required Field
I'd like to receive the newsletter. *Check email for confirmation.
*Required Field
Preferred Time To Be Contacted (PST)
8:00am - 12:00pm 12:00pm - 5:00pm