Sorry if this is a benign question but still new to ASP MVC3 – what is the best syntax for using an image as a link? It needs to navigate to the Index.cshtml page of another Controller (called Home).
What I have below causes the image to completely disappear:
<a href="@Url.Action("Index", "Home")><img src="@Url.Content("~/Content/images/Monet3.png")" id="MonetSig" /></a>
I think that there is a closing
"missing after@Url.Action("Index", "Home")it might be the problem