javascript link to previous page code example Example: href back page javascript <a href="javascript:history.back()">Go Back</a>