store values in a html variable and use it anywhere in the html code example Example: js variable html <div onload="document.innerHTML(name + ' is ' + age)">