Open up your computer's plain text editor and create a new file.
Start with an empty window and type the following code:
The first line DOCTYPE html is the document type declaration. It instructs the web browser that this document is an HTML5 document. It is case-insensitive.
The head element is a container for the tags that provides information about the document, for example, title tag defines the title of the document.
The body element contains the document's actual content (paragraphs, links, images, tables, and so on) that is rendered in the web browser and displayed to the user.
link rel="shortcut icon" href="favicon.ico" type="image/x-icon"