What is the recommended way to handle links that are used just for style and/or interactive purposes? <p>For example, the link below triggers something in jQuery but does not go to another page, I used this method a while back ago.</p> <pre><code>&lt;a class="trigger" href="#"&gt; Click Me &lt;/a&gt; </code></pre> <p>Notice theres a just a hash tag there, and usually causes the page to jump when clicked on, right? [I think]. It is only for interactive stuff, doesn't go to another page or anything else. I see a lot of developers do this.</p> <p>I feel like its the wrong thing to do though. Is there another recommended way to do this without using HTML attributes a way where it is not suppose to be used?</p> <p>Not using <code>&lt;button&gt;</code> ether because the link would not be a button.</p> <p>Maybe without a hash?</p> <pre><code>&lt;a class="trigger"&gt; Click Me &lt;/a&gt; </code></pre> <p>&amp; in CSS:</p> <pre><code>.trigger { cursor: pointer; } </code></pre> <p>So the user still knows its for something that you should click?</p>