W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
请点击按钮来查看 button 元素是否拥有 onclick 属性。
试一下
Internet Explorer 8 以及更早的版本不支持该方法。