Link opening in new window

3

I have an image, which is a link to the index page (home). It turns out that when I click on the link, the browser opens another window, but should open it .

How do I resolve this? Below my code:

<a href="/Home/Index/" title="Twitter"
  target="_blank"><img src="@Url.Content("~/Images/logo-agaxtur.jpg")" class="logo" />
</a>
    
asked by anonymous 18.03.2014 / 17:41

1 answer

3

I found the problem, which would be because of the target attribute that defines when an HTML element contains% of a custom destination, of which, in my case, it had the value <a> . It was enough to remove the attribute, so that the link would return to normal functioning.

    
18.03.2014 / 17:46