<input name="button" type="button" onclick="window.location.href='#'" />点击后跳转到对应地址的写法
按钮元素应用实例
最新推荐文章于 2025-07-20 16:34:21 发布
本文介绍了一个简单的HTML按钮元素的应用案例,演示了如何通过设置按钮的onclick属性来实现页面跳转的功能。
<input name="button" type="button" onclick="window.location.href='#'" />
1759

被折叠的 条评论
为什么被折叠?



