4 2 Kod Arahan HTML 1
4 2 Kod Arahan HTML 1
0 KOD
ARAHAN
4.2 KOD ARAHAN
5 MINGGU HTML
10 JAM
HTML
O HTML is amarkuplanguage
KEPERLUAN
1. Buka program NotePad
2. Pilih menu File/ New
3. Taipkan baris kod.
4. Setelah selesai, pilih menu File/ Save As
5. Simpan (save As) fail sebagai
a.namadoc.txt
b.namadoc.html
6. Untuk melihat hasil paparan, klik fail
<HTML>
<HEAD>
<TITLE> </TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
CONTOH
http://www.w3schools.com/html/
the<h1>to<h6>tags.
O <h1> defines the most important
heading. <h6> defines the least
important heading
Banner
banner
menu
another document.
O Note:A link does not have to be
text. It can be an image or any other
HTML element.
teks
imej
the<img>tag.
O The <img> tagis empty, it contains
attributes only, and does not have a
closing tag.
O The src attribute specifies the URL
(web address) of the image