Source Code:
Result:
Hello World!
The DOM is very useful.
This example demonstrates the
getElementsByTagName
method
Edit the code above and click "Submit Code" to see the result.
W3Schools.com
- Try it yourself