Friday, January 16, 2009

Hello World

HTML is not a programing language. But in this leason, we'll use "hello world" thing to start. How to write "hello world" in HTML? Before that, I want to explain the mechanism:
  1. First, we write "hello world" in our text editor.
  2. After that, we save it in HTML format. We can save it as blablabla.html, or any name with .html extension.
  3. Then we open our web browser.
  4. With this browser, we open our blablabla.html file.
  5. Our web browser will interpret HTML codes (usually called tags) in .html files. So we can see the Hello World in our web browser.
  6. We can have a tea now.

What code should we write in our text editor to display Hello World? Here are the steps:
  1. Turn on your computer, open your text editor.
  2. Write in the first line "Hello World" (without ")
  3. Save it as "hello world.html" (without ")
  4. Open it with your web browser
  5. Enjoy your tea...

I'm sure all of you will have the same questions about it. Where in heaven is the html tags? Is it as simple as that? Is this a joke? Bla bla bla?

And my answer will be: No, it's not a joke. It is that simpe. And we'll learn the codes or the tags in the next leason. So please be patient!

No comments:

Post a Comment