If your text editor is not very good I do recommend the one I used for writing this course: Notepad++ which is completely free (and I have no commercial links to it).
<html>
<head>
<title>My page</title>
</head>
<body>
<p>A paragraph of text.</p>
</body>
</html>
You should see something like this:
Notice where (a) the title and (b) the paragraph have appeared.