Page structure
The basic HTML page consists of simple building-block HTML elements, such as doctype declaration, HTML, head, title, and body tags. Like all tags, they start and end with an angle bracket <
…>.
To create an HTML document, you can use built-in text editors like Notepad (Windows) and TextEdit (Mac). Save the file using .html or .htm, and voilà! — you can open it as a webpage in any browser.