Select the whole of the code and right click on the page (or on the HTML button). As the HTML mode is selected by default, clicking on the page will give you the HTML menu. If you select another mode, then the button will become flat and you can get its menu by clicking on the page (as well as clicking on the button!).
Now we do not have a BODY.
Click below the HEAD tags (below </HEAD>) and choose Block and Body. We now have a page with a HEAD and a BODY. The code looks like this:
However, we have forgotten to put the HTML tags in. Select the whole of the code, right-click and choose Block and HTML from the pop-up menu.
We now have an HTML page.
You have learned a little more about boilerplate code.