Reputation: 4536
Here's what I've got: What I'm trying to do is have a github image on a webpage and when it is clicked it takes you to my github account. Odd thing is that this was working and then stopped and I can't tie it directly to any changes I've made. Note that I'm not using any javascript on this site...
This is in the body of my .html:
<body>
<div>
<a href="https://github.com/mystuff" target: "_blank">
<img src="https://dl.dropboxusercontent.com/u/######/site/octocat_black.png"></a>
<!-- this repeats for 5 different images -->
</div>
</body>
When I hover over the image i can see the link in the chrome bottom toolbar but when I click it the page just seems to reload (not an entire reload, but it doesn't go anywhere). If I use the developer tools and click on the link it goes where it's supposed to. Any thoughts would be greatly appreciated!
Note that all the images I use, .html, and .css all live in the same directory. It's a VERY simple site.
Upvotes: 0
Views: 2632
Reputation: 23777
target:="_blank"
html is no pascal where the assignment operator is :=
. Write:
target="_blank"
Upvotes: 4