title: How to automatically click a link when the website loads
body: <p>I am trying to figure out how to make an anchor link clicked when the website is visited. I would be grateful if someone can help me, here's a demo code, you can match the id for my ease thank you.</p>
  
  <pre><code>&lt;body&gt;
  &lt;a id='deepakkamat' href='http://mywebpage.com'&gt; This is my webpage &lt;/a&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>So i want to know any JavaScript code to make the link clicked when the page loads. Thank you in advance.</p>