运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> p#demo { text-decoration: underline; } </style> </head> <body> <p id="demo"> Hello world! </p> <p>Click the "Try it" button to change the text-decoration-style of the paragraph.</p> <button onclick="myFunction()">Try it</button> <script> function myFunction() { document.getElementById("demo").style.textDecorationStyle = "wavy"; } </script> </body> </html>