Skip the tutorial and build your website or online store without learning any code
Tell Me More
Get the printable version of this tutorial in PDF format and receive a FREE mobile compatible website template!
You can do it...honest
No need to spend money on fancy computer programs or expensive courses to learn how to make a website. HTML code is easy to learn and you are about to find that out!
So are you ready to make your first webpage with HTML? Sure you are, let's get to it!
What You Need
A browser and a simple text editor such as Notepad that comes with Windows is all that's needed to build a website. Yup, Notepad, even for fancy websites, for Mac users there's TextEdit, for Linux there's Leafpad.
Making An HTML File
Before we begin the lessons here's how to turn a regular text file into an HTML file:
From the File menu of your text editor choose Save As, give the file a name, any name you like, for example mypage, and add the .html extension to it like so:
The .html extension turns a regular text file into an HTML file. It only needs to be added at the time you create the file, once it's made simply save the file each time you edit the code. Keep your file in a folder where you can easily find it.
The saved code can be opened and edited from within the text editor (make sure that "All Files" is selected from the drop down menu in the editor's dialog box).
To open the webpage in your browser go to the folder in which it is saved and click on the webpage icon.
The file name for the main web page of any website must be index.html All other pages within a site can be given any name you like.
You are now ready to start learning HTML with Lesson 1
Please support this educational website by signing up with Shareasale, it's an advertising network for those who would like to earn money with ads on their website. It's completely free, won't cost you a penny but each sign up will earn $1 for this website and help keep this online tutorial free.