title: How redirect to other page using HTML or JavaScript
body: <p>Im begginer in WebProgramming so maybe my questuion will seem naive to some of you.
  I want to run a simple JavaScript function without any click to implement a redirection.</p>
  
  <p>I try this:</p>
  
  <pre><code>@inherits System.Web.WebPages.WebPage
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;meta name="viewport" content="width=device-width" /&gt;
      @Styles.Render("~/Content/css")
      @Scripts.Render("~/bundles/modernizr")
      @Scripts.Render("~/bundles/jquery")
  &lt;/head&gt;
  &lt;body&gt;
       &lt;a href="/OauthCallBack/GmailOAuthCallback"&gt;&lt;/a&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But it dosen't work.</p>
  
  <p>Any idea wat I am missing?</p>
  
  <p>Thank you in advance.</p>