String variable out of context for use in HTML output
<p>I'm trying to understand why the variable <code>myUrl</code> 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.</p>

<pre><code>&lt;% string myUrl = "http://www.website.com"; %&gt;
&lt;ul class="footerLinks"&gt;
    &lt;li&gt;&lt;a href="&lt;%= myUrl %&gt;/index.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>
