9 Steps to Create a Web Page using Basic HTML for Beginners[Illustrated guide]

Create HTML website illustration

If you have ever wondered how HTML is used to make websites with pictures and videos, you have landed at the right place. I am going to walk you through the 9 steps of building a one page website using HTML. If you can build a one page website, you can build a multi-page website.


You only need two things: a text editor and a browser. If you know how to use these two, skip the requirements section and go to the 9 steps process.

A text editor

You need a text editor to write the HTML code. Every computer has a text editor so don’t be in a hurry to install anything yet. You can use Notepad on Windows, Gedit on Ubuntu and TextEdit on MacOS X.

You will hear about fancy text editors that you should install. However, for your first HTML webpage, you don’t need to install anything. Use the text editors already in your computer.

After building your first webpage, you can check some of the other tools I use when making webpages that will make your work more comfortable.

A browser

You will be using Firefox, Chrome, Chromium, Safari or any other web browser already installed in your computer.


Content of the Webpage

All webpages always contain some kind of information in various format like text, images, videos etc. For you to make a webpage, you need to some content or use dummy text and images.

If you just want to practice, you can copy the content I already prepared here.

If you want to create a unique webpage, you will have to:

For your first webpage, I would recommend that you stick with a simple design web page. The web design is how the website looks. Remember, you are just practicing how to build webpages not design them.

You can choose from this simple html projects collection I prepared.

For this tutorial we will be building a webpage about Crickets For Food. Example of practice webpage
This webpage is not fancy but it a good first project. I made it one column to keep things beginner friendly.

9 Steps to Create your First HTML Webpage

Step 1: Open a Text Editor

Remember the text editor I talked about earlier on, time to open and use it. If you have used one before, skip to the next section. If you don’t know how, the instructions below will help you depending on the kind of computer you use.

After opening the text editor of your choice, create a new file. Then, you can proceed to the next step.


Step 2: Write Some HTML Code

We are now going to add the HTML boiler plate code. This is the code that will allow the browser to correctly display your webpage.

Copy and paste the code below into your file. Your file should look like this now:

<!DOCTYPE html>
    <title>Your Title Here</title>
    Your content here.

Save the html page by pressing CTRL + S or click on file option then save option. Ensure that you name the file in the following format: “name” then “.html” examples index.html, cooking.html.

You can use these two guidelines when naming webpage file:

Choose where to save the file. Once you have choosen a place to save the file, click save.

To view the file. Use your file manager to navigate to the folder your HTML file is. Right click on the file and open it with a browser. You should see something like this.

Step 3: Add the Text Content

Copy the content you wrote earlier or the ready made content I arranged for you to use. Paste it in between the body tags.

Refresh the webpage on the browser. It will look like a blob of text with no paragraphs or headings shown below.

Step 4: Add the HTML Tags


First, we shall tackle the headings. Check which part or the text was the main heading. In our example it is “Insect eating: The ultimate guide to eating crickets”.

Place this text between h1 tags as shown below:

  Insect eating: The ultimate guide to eating crickets

Save your work and check the result on the browser.


For the paragraphs of text, place each paragraph of text between the <p></p> html tags. Example:

  When you hear about eating insects most people gross out. However, Insects are concidered a delicacy in many parts of the world. Most of the insects eaten are farm grown but in some places, they don' shy away from eating insects collected from the wild.
  Eating insects is concidered:
  healthy since insects have less fat content.
  enviromentally friendly: It takes less amount of food/plants to rear insects compared to cows.
  people who don't eat milk and meat products can try out insects as protein substitute.

View the result on the browser.

Step 6: Add a List

Lists make reading a group of things easier on our eyes and brain. Lets add a bullet points type list:

  <li>healthy since insects have less fat content.</li>
  <li>enviromentally friendly: It takes less amount of food/plants to rear insects compared to cows.</li>
  <li>people who don't eat milk and meat products can try out insects as protein substitute.</li>

Refresh and view the result on the browser.

Step 7: Add Images

Remember the URL’s or the images you saved. Now is the time to unleash them.
We are going to use the HTML’s img tag <img src="URL" alt="Shown when image cannot load"> to add your images on the webpage.

If you just copied the images’ URL, you will add the URL inside the quotes of src attribute. Remember to add alt attribute that shows when the image cannot be displayed. Example:

<img src="https://avicndugu.github.io/practice-projects-html/cricket-eating/final/img/fried-crickets.jpg" alt="Fried crickets on display">

Step 8: Embed a youtube video

Search for relevant video on youtube. Once you have found it, click on share button/ link. You will get a popup. Click on embed option.

Click on the copy button to copy the code that is displayed.

Paste your code on your webpage where you want the video to be displayed. For my case this is the code that i got:

<iframe width="310" height="160" src="https://www.youtube.com/embed/BwC4WRKi5QY" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

View the html page on a browser.

If you have completed all the 8 steps, you should have a working HTML page that you should be proud of.

If you copied some content from another web page, it is concidered appropriate to add a URL pointing to the original source of information.

You can add a link using <a href="URL">Words explaining what you will find if you click on the link</a> HTML tag.

<a href="https://avicndugu.github.io/practice-projects-html/cricket-eating/final/">HTML and CSS Cricket Project</a>

View the html page on a browser. You should now have a link at the bottom with the words: “HTML and CSS Cricket Project”.

Additional Tips