HTML Part 2

I am going to tell you about the HTML part 2. In this part, I am going to explain about the main part of HTML. Actually, the main component of html page is divided into two main parts. The first is the header. And the second is the body. Then, how to use this part?

I’ll give you the example explaining every part of them.

Notes: Please open your notepad first! Please save the file into html mode.


In the header, you may add some of scripts and also the title of the pages. How to code the header?
The header part is written between header tags.  How to write the header tags? Please look the code below.

The code above shows the header tag wrote well. How to add the page title? This is the example.

Please save your code! Then, you can open the file saved before by the web browser. This is the result:

Then, how about the script? I am going to give you an example. I’m going to use java script.

What will happen? 🙂

Opening the web browser, you will find this one:


Body tags are used to write the content of the web. Seeing on the main interface of the web browser, you’ll see the result of the code. How to write the body code? It’s the same as the header.

This is the way how to add the content of the web. You should add the content between the body tag.

And here you’ll find the result.

That’s all about. 🙂

See you again on the HTML part 3!!!


One comment on “HTML Part 2

  1. Ping-balik: MACAM-MACAM TAG HTML Vol 1 | Aneka Warna

Tinggalkan Komentar

Isikan data di bawah atau klik salah satu ikon untuk log in:


You are commenting using your account. Logout /  Ubah )

Foto Google

You are commenting using your Google account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )

Connecting to %s