Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <h1>My First Web Page</h1>
- <p>My First Paragraph</p>
- <p id="demonstracao"></p>
- <script>
- // Changing the innerHTML property of an HTML element is a common way to display data in HTML.
- document.getElementById("demonstracao").innerHTML = 4 + 3;
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement