What you see in the HTML Editor looks completely different from the final webpage. This takes some getting used to, but you will learn to let the editor do the formatting for you.
If you want to see what your webpage looks like before you publish it, you can click on the Preview button located on the lower right toolbar.
A new window will open showing you exactly how your webpage will appear. Click the Close button when you are finished. This does not save your work.