website section redirecting to different page while searching code example
Example: html redirecting to previous page
<a href="#" onclick="javascript:window.history.back(-1);return false;">Back</a>
<a href="#" onclick="javascript:window.history.back(-1);return false;">Back</a>