W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<html> <head> <script type="text/javascript" src="/jquery/jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(":submit").css("background-color","#B2E0FF"); }); </script> </head> <body> <html> <body> <form action="/demo/demo_form.asp"> Name: <input type="text" name="user" /> <br /> Password: <input type="password" name="password" /> <br /> <button type="button">Useless Button</button> <input type="button" value="Another useless button" /> <br /> <input type="reset" value="Reset" /> <input type="submit" value="Submit" /> <br /> <button type="submit">Submit Button</button> <br /> </form> </body> </html> </body> </html>