how to learn to make web pages.

What makes web pages?

Web pages are made with two languages: HTML code and CSS code.
These two languages work together to tell the web browser how to show the web page.

But what is "code"?

Code is instructions to a program on the computer. There are many different languages of code, that tell different programs on the computer what to do. We can write these codes in any text editor.
"HTML" and "CSS" are two kinds of code. They tell the web browser program how to display the web page.

How do i learn to make this code?

If you have a computer with a text editor and a web browser, you have all you need to learn html. You don't need an internet connection.

  1. type some html in your text editor
  2. view in the browser.
  3. change, explore, experiment
  4. view in the browser.
  5. Repeat!

When you are comfortable with basic html:

  1. Make correct web pages using this template (You can copy and paste that code into a new file.)
  2. You won't understand some of the codes there. But that's ok. They are like the bricks of a building, they hold the page up! Later we will learn what they are. But we always do that way.

Then start on the adventures!

  1. "View source" of any web page you see, and figure out how the page was made.
  2. Try to recreate a web page without looking at the source!.
  3. Repeat!

Some different ways to learn:

What program do i need to make web pages on my computer?

Three programs:

  1. a text editor (NotePad or TextPad or your choice on MSWindows, pico or vi or your choice on linux)
  2. a web browser (Firefox is the best.)
  3. your file manager ("My Computer" or "My Documents" on MSWindows, Nautilus or the shell on linux, Finder on Macintosh)

and:

You want to have all these four open while you are working on web pages!

Is that all? I thought i needed some big program? Don't i need Dreamweaver or Macromedia Director?

You can use those. But they aren't necessary, and i don't teach them. What a program like Dreamweaver does, is make the html for you. Director specializes in Flash animations, movies, which is a separate subject.

What is text? What is a text editor?

A text editor is a program like Notepad or (better) Notepad++ or vi. It will show you exactly what is in a file.
Try this: open a Word, jpg or gif file, in Notepad++. You will see a lot of strange characters. Those things are not text.
For web pages, we need to have only text.

Isn't html programming?

A little different:
"Programming" (javascript, php, C) tells the computer how to do something.
Html code tells a web browser program how to display something.
There are some basic principles in html, that are also used in programming languages. So learning html can be a good introduction to later learn programming.

What's the process for developing web pages?

  1. Make your page in a text editor
  2. and then save your file
  3. In your web browser, view the file.
then ...
  1. Make changes in your text editor
  2. and then save your file
  3. Reload (refresh) the page in your browser.
  4. and repeat!

What should i learn first?

The basic html codes: See the basic html tutorial
The basic template for every web page.
How to fix problems: See the How to fix problems page

Then what?



copyright / license

top

Q: Can i copy this file? Can i give to other people?

Answer:

Sure, you can give it to anyone, according to the terms of the license below. It is copyright © 2004 James Walker.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included here.

If not found, find it at www.fsf.org - the Free Software Foundation.



translation

top

It would be very useful to have translations of this document in any language. Most preferred would be Tibetan and Chinese. Please contact me if you can do a translation for us.



contact

top

Was this helpful? Is it clear, or confusing? I would be happy to hear anything about how to make this better. You can contact me at the email address i have given you, or at http://www.webwalker.to/contact.php