In this tutorial will learn to create the classic "file.html" who places online website.
First step:
Open the notepad of windows.
Second step:
We started writing the code for website.
Recommend read before: Learn HTML.
Then we continue to place the code document using: <html> and </html>.
After we placed the head of the document using: <head> and </head>, these placing them directly after of the <html>.
Finally we placed the body of the document using: <body> and </body>, these after of </head> and before of </html>
For this step our code should be the following:
<html>
<head>
...
</head>
<body>
...
</body>
</html>
Third step:
In this step we begin to develop the content of the website.
We can use <title> and </title> between <head> and </head>.
In this new instruction we can give a name to the website as follows:
<title> Name of the site </title>.
After we can start with our main content of the site.
We can directly write or can using more HTML, in this case is a site basic so we only write in the.
For this step our code should be the following:
<html>
<head>
<title>My first website.</title>
</head>
<body>
In this part we can write the content.
</body>
</html>
Fourth step:
Save as... the document.
In notepad we will go to save as... in new window we will select "all files" in the section type of file.
Finally add a Name to the file and the extension .html, example: Name.html
Click on save.
The file can open giving double-click.