How to Create a Basic Web Page with HTML

You can create a very basic web page in just a couple of minutes and we will demonstrate how to do that in this tutorial.

Thumbnail Blaster - Video Thumbnail Creation Software

1. Open a text editor, e.g. Notepad, and create a new text file.

How to Create a Basic Web Page with HTML - 1

2. Copy the HTML code below and paste it into the text file.

<!DOCTYPE html>
<html>
<head>
  <title>My Web Page</title>
</head>
<body>
  <p>Welcome to my web page!</p>
</body>
</html>

How to Create a Basic Web Page with HTML - 2

3. Add a title to your web page between title tags by editing the text where it says My Web Page.

How to Create a Basic Web Page with HTML - 3

The title will be displayed in the title bar of your web browser.

4. Add some text between p tags by editing the text where it says Welcome to my web page!.

How to Create a Basic Web Page with HTML - 4

This text is the content of your web page and it will be displayed in the browser window.

5. Save the file with .html extension, e.g. mypage.html, and your web page will be ready for publishing (i.e. uploading to your server).

How to Create a Basic Web Page with HTML - 5

You can also preview your web page on your computer by opening it with a web browser.

Was this post helpful?

Please consider sharing it, and supporting us with a small tip. Thank you :)

f t g+ in