title: Can a <button> in HTML do something without javascript?
body: <p>I have a web page that has a button. Currently I am binding this button to a javascript handler that makes the page redirect to a given URL when it is clicked.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;button class="click-me"&gt;Clike me to navigate&lt;/button&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>$('.click-me').on('click', function() { window.location = '/myloc'; });
  </code></pre>
  
  <p>I am now trying to build a fallback (no-javascript) version of this page. I would like this button to do the same job but without using javascript. In other words, I am trying to make this button functional even if javascript of the browser is disabled. </p>
  
  <p>I know this can be achieved by form (as shown below). But I am looking for any cleaner implementation.</p>
  
  <pre><code>&lt;form name="hack" action="/myloc"&gt;
    &lt;button type="submit" class="click-me"&gt;Click me to navigate&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>