菜单切换
FACESOHO知行者
心灵
记录
远方
赞赏工具
源代码:
点击运行
保存
<!DOCTYPE html> <html> <head> <script> function goForward(){ window.history.forward() } </script> </head> <body> <input type="button" value="前进" onclick="goForward()"> <p>注意,点击这里的前进按钮不会导致任何行动,因为历史列表中没有下一个URL。</p> </body> </html>
运行结果