Building a web site from scratch. Part I: Creating a web site.
In this chapter we will create a web site on your computer.
The web site will only be visible to you. Later you will learn how to make it public. |
Create a new folder on your computer (a new folder on your desktop is OK).
Name the new folder DemoWeb.
Now you have a local web site.
In the DemoWeb folder, create a new file named Index.html.
Use Notepad (or any other text editor) to put the following content in the file:
After you have saved the file, you can open it in your browser, and see how it runs. |
In the DemoWeb folder, create a new file named About.html.
Put the following in the file:
The files above contain headings <h1> and a paragraphs <p>. Please feel free to edit the content.
In the next chapter, we will add a CSS style sheet. After that we will add computer code and data.
Read more about HTML in our HTML Tutorial.