how to use a javascript variable in html 35 How To Use A Javascript Variable In Html To add the content of the javascript variable to the html use innerHTML() or create any html tag, add the content of that v… Written By Anonymous Tuesday, September 27, 2016 Add Comment Edit