html - Have button with custom image and link -


i've looked around internet, none of answers have helped me in way. i'm beginner , wondering how make button (that looks facebook logo) link facebook page once clicked? i've used code below no avail.

 <input type="button" src="images/facebook.png"  width="175" height="60" > </section> </header> 

this keeps showing me , have no idea why

this keeps showing me , have no idea why

an alternative can be, add link image.

<a href="http://example.com"><img src="images/facebook.png" /></a> 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -