For more information on how to write HTML code, check out How to Create a Simple Web Page with HTML.

You can also use other text HTML elements, such a header {{kbd|<h1 id=>

For example, type “document. getElementById(“demo”). innerHTML = 27 + 33;” to print the sum of 27 + 33.

You can also create a button that displays printed text in a pop-up window. To do so, type “”.

Click File at the top of your text editor or HTML editing program. Click Save as. Type a file name for the HTML document. Ensure it saves as a “. html” document. Click Save.