I'm sure there are lots of ways, but check out innerhtml.
Example:http://www.w3schools.com/htmldom…