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:
- First, we write "hello world" in our text editor.
- After that, we save it in HTML format. We can save it as blablabla.html, or any name with .html extension.
- Then we open our web browser.
- With this browser, we open our blablabla.html file.
- Our web browser will interpret HTML codes (usually called tags) in .html files. So we can see the Hello World in our web browser.
- We can have a tea now.
What code should we write in our text editor to display Hello World? Here are the steps:
- Turn on your computer, open your text editor.
- Write in the first line "Hello World" (without ")
- Save it as "hello world.html" (without ")
- Open it with your web browser
- 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