Clancy19 Posted October 2, 2009 Share Posted October 2, 2009 Why wont this coding make my picture into a hyperlink. The picture is called basic and in saved in the same folder as the html document. I want to to link it to another page called basic.html. why doesnt this code work? How do i fix it? <a href="basic.php"><img= src="basic.jpg" alt="basic.php"/></a> Quote Link to comment Share on other sites More sharing options...
Bricktop Posted October 2, 2009 Share Posted October 2, 2009 Hi Clancy19, <img= is the incorrect syntax, change your code to read: <a href="basic.php"><img src="basic.jpg" alt="basic.php"/></a> Hope this helps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.