title: How to call JavaScript function in HTML without clicking any button?
body: <p>My function is a timer that should run when the page is displayed. I wrote</p>
  
  <pre><code>&lt;script&gt;
      startcountdown();
  &lt;/script&gt;
  </code></pre>
  
  <p>In html but this doesn't work. How can I call that function? I don't need special event to happen before calling it. </p>