源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>享学课堂</title> </head> <body> <h1>我的web页面</h1> <p id="demo">你不能用一个反斜杠续行代码.</p> <script> document.getElementById("demo").innerHTML = \ "Hello Dolly."; </script> </body> </html>
运行结果