Main
HTML Tutorials
Home |
HTML has to be typed in a text editor, like Notepad, or Wordpad. Personally, I prefer Notepad. You can find it in Start, then Programs, then Accessories, and then click on Notepad to open it.
Now you just can't start typing HTML like that. You have to follow a particular syntax when typing HTML code. Here is the particular syntax that you have to follow:
<html>
<head>
<title>Title of your Page</title>
</head>
<body>
</body>
</html>
We will discuss this syntax later on in this tutorial, but at the moment just remember that all the main codes of the page go between <body> and </body> tags. By the way, notice the text between <title> and </title>. This is the title of your page that will appear in the blue bar on the top. Just look above all the buttons, above the 'File', and other menus, and look at the blue bar. You will see 'HTML Tutorials - Where to type HTML?' written there. This is the title that I am referring to. So just remember these two points.
There is one more thing you should know about creating HTML files. That is how to save them. When you save them, remember to type the filename as 'whatever.html' (without the quotation marks, of course!). Notice the '.html' . All HTML files have to be saved with this extention.
OK, now open Notepad, copy and paste the syntax, and save it as I instructed. You now have an HTML document. Now, obviously you want get some text in there, and format it. So let's learn some formatting tags....
By the way, if you want to contact me, or if you want to report any problems or errors, you can E-mail me. | ![]() |