Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Reload Page Using Only HTML

Let’s assume you’re working on a website, and you want to provide the users with the ability to Reload the page by clicking a link while also preserving all the query parameters within the URL.

Most likely, your first option would be to use one of the 500 ways to reload the page with Javascript.

But in this short tutorial, we won’t be using JavaScript, only Html.

The solution is quite simple:

 href="">Your Link

Use a href with empty quotes.

 Take a look and see it in action:

Happy coding!



This post first appeared on Neutron Dev, please read the originial post: here

Share the post

Reload Page Using Only HTML

×

Subscribe to Neutron Dev

Get updates delivered right to your inbox!

Thank you for your subscription

×