Glitter Words

Jumat, 10 April 2009

Membuat HTML


Membuat HTML di XAMPP 

Setelah kita berhasil menginstal xammp di redhat mari kita belajar HTML.

Menyimpan file HTML
untuk menyimpan file html buat folder di alamat /opt/lampp/htdocs

# cd /opt/lampp/htdocs
# mkdir htmlku

masuk ke folder htmlku
#cd htmlku

membuat html dengan nama hello.html
#vi hello.html
tekan insert (untuk myisipkan)

<html>
<title>Hello HTML</title>
<body>
Hello HTML
</html>

untuk menyimpan
1. tekan tombol esc
2. tekan tombol :
3. wq

coba cek dengan perintah :
#ls
apakah ada file hello.html

untuk menjalankan html
1. buka web broser
2. http://localhost/htmlku/hello.html

Tidak ada komentar:

Posting Komentar

Glitter Words