Created
May 13, 2014 13:34
-
-
Save carlosrojaso/db5f6896994c8b586a51 to your computer and use it in GitHub Desktop.
Manipulating HTML Elements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<h1>My First Web Page</h1> | |
<p id="demo">My First Paragraph.</p> | |
<script> | |
document.getElementById("demo").innerHTML = "Paragraph changed."; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment