how to declare variable containing html javascript code example Example: js variable html <div onload="document.innerHTML(name + ' is ' + age)">