<a href="javas cript:history.back();">返回上一页</a>
<a onclick="javas cript:history.go(-1);">返回上一页</a>
①onclick="javas cript:window.location.href='URL'"
②onclick="location='URL'"
③onclick="window.location.href='URL?id=11'"
<a href="<a href="javas cript:history.back(-1)">返回上一页</a>
或
<a href="javas cript :;" onClick="javas cript:history.back(-1);">返回上一页</a>
非a标签:
<input type="button" name="Submit" onclick="javas cript:history.back(-1);" value="返回上一页">