can we create html tags using eval method in javascript
<p>i found some code which is using anchor tags in eval</p>

<pre><code>eval("a='http://google.co.in'+window .location.href");
</code></pre>

<p>The code does not yield an error at the same time it is not redirecting to the desired page. By observing this piece of code i want to know whether javascript <code>eval()</code> can be used to create html tags like <code>eval('script tag')</code> or not.</p>
