Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Write to a heading:
- document.getElementById("myH1").innerHTML="Welcome to my Homepage";
- // Write to a paragraph:
- document.getElementById("myP").innerHTML="This is my first paragraph.";
Add Comment
Please, Sign In to add comment