Wednesday, March 2, 2011

HTML - Getting Started

What You Need

You don't need any tools to learn HTML.

You don't need an HTML editor
You don't need a web server
You don't need a web site
Editing HTML

HTML can be written and edited using many different editors like Dreamweaver and Visual Studio.

However, in this tutorial we use a plain text editor (like Notepad) to edit HTML. We believe using a plain text editor is the best way to learn HTML.

Create Your Own Test Web

If you just want to learn HTML, skip the rest of this chapter.

If you want to create a test page on your own computer, just copy the 3 files below to your notepad and save as the following.





This is my Main Page

This is some text.

This is a link to Page 1

This is a link to Page 2





and save as mainpage.html




This is Page1

This is some text.





save as page1.html




This is Page2

This is some text.





save as page2.html

After you have copied the files, you can double-click on the file called "mainpage.htm" and see your first web site in action.

Use Your Test Web For Learning

We suggest you experiment with everything you learn by editing your web files with a text editor (like Notepad).

Note: If your test web contains HTML markup tags you have not learned, don't panic. You will learn all about it in the next chapters.

.HTM or .HTML File Extension?

When you save an HTML file, you can use either the .htm or the .html file extension. There is no difference, it is entirely up to you.
Share:

0 comments: