I'm trying to understand why the variable myUrl is out of context in the example below. What's the best way to handle this situation? Are there alternatives? The code is C# in an ASP.NET page.
<% string myUrl = "http://www.website.com"; %>
<ul class="footerLinks">
<li><a href="<%= myUrl %>/index.html">Home</a></li>
</ul>