Edit This Code:
See Result »
<
!DOCTYPE
html
>
<
html
>
<
body
>
<
p
id
="demo"
>
My first paragraph.
<
/p
>
<
script
>
document.getElementById(
"demo"
).innerHTML =
"Hello"
-
"Dolly"
;
<
/script
>
<
/body
>
<
/html
>
<!DOCTYPE html> <html> <body> <p id="demo">My first paragraph.</p> <script> document.getElementById("demo").innerHTML = "Hello" - "Dolly"; </script> </body> </html>
Result:
Privacy Policy