In this tutorial, we consider how to create the easiest web site (more precisely first web's home page). In the last lesson has been said that the foundation of sites are tags. It is with help them and we will create our first site. While I will not explain the meaning of each tag, we discuss them in detail in the following lessons. Now just retype the text that is on a gray background in a text editor and save it (if you type in a notebook tab choose File> Save). Save for example under the name 1.html (.html - extension of the file containing the code HTML), the main thing to remember where you save the file, you can create a folder you create html files.
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Page heading</title> </head> <body> <p>My first website</p> </body> </html>
After you have created a file 1.html double-click on it and the file will open in the browser installed defaul. If the file does not suddenly opened, open your browser (Google Chrome, Firefox, etc.) and drag the file 1.html in a new tab . After opening the file in a browser window you will see "My First Website" on a white background. This is the first web page you have created. Of course it is not very similar to a Web site, but is worth to add text, images, decorate beautifully and you finished simple one site. In the following lessons, we analyze in detail the tags that were used to create the first Web page, and then move on to learning other tags that will be required to write more serious pages.