To start, you need to have a text editor like Notepad(Windows only) or TextEdit(Mac only)
I will be using Notepad++
Now, follow the steps as shown:
1. Create a new file
2. Save the file (Ctrl(Cmd) + Shift + A or Ctrl(Cmd) + Alt + S)
3. Save as .html file named "index.html"
4. Set language to HTML(if it isn't)
5. Type "!DOCTYPE html" with brackets ( < > ) to tell the computer that we are programming in HTML 5, the latest version of HTML
6. Type "html" also with brackets
7. Type "head", this is the begining of the head of our website.
The head is the part where you see on the top of your web browser
8. Now type "meta" meta means meta data. Meta data means data of data, like your description about your website. Now type a atributte called charset inside the meta tag, which tells the computer how to encode the file/website on, let's
do utf-8, utf-8 (You can type it as UTF-8 too) is a very common encoding type.
9. You will need a title to show your users what your website is about, it is like a title of a book, I'm going to name a "A Website" for now , but you can name it anything you want
10. Now let's close the head tag by typing "head", but with a forward slash in front of it.