Source Code:
Hello World!
The DOM is very useful.
This example demonstrates the
getElementsByTagName
method
Result:
W3Schools.com
- Try it yourself