-ini gambarmu->

Senin, 11 Mei 2009

Membuat html di Xxamp

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)

Code: Select all

Hello HTML

Hello 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: