Use JavaScript to Change Text

This example writes "Hello JavaScript!" into an HTML element with id="demo":

SVG