Edit This Code:
See Result »
<
!DOCTYPE
html
>
<
html
>
<
body
>
<
h1
>
My Web Page
<
/h1
>
<
p
>
The best place to break a code line is after an operator or a comma.
<
/p
>
<
p
id
="demo"
>
<
/p
>
<
script
>
document.getElementById(
"demo"
).innerHTML =
"Hello Dolly."
;
<
/script
>
<
/body
>
<
/html
>
<!DOCTYPE html> <html> <body> <h1>My Web Page</h1> <p> The best place to break a code line is after an operator or a comma. </p> <p id="demo"></p> <script> document.getElementById("demo").innerHTML = "Hello Dolly."; </script> </body> </html>
Result:
Privacy Policy