How to display JavaScript values in HTML

How to display JavaScript values in HTML