This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Monday, July 25, 2011

Menampilkan Kode HTML atau Javascript di postingan Blogspot


Bagi Anda blogger pemula seperti saya tentu masih bingung bagaimana menampilkan / menulis kode html / javascript di posting dan ingin kode tersebut tampil seperti waktu ditulis. Jangan merasa heran karena setelah dipublish hasilnya jadi berbeda dengan posting aslinya. Misalkan Anda menulis kode < dan > dan ingin tampil persis seperti itu dipostingan, namun kenyataannya kode tersebut malah hilang atau bisa juga seluruh postingan akan hilang secara otomatis ( kejadian ini pernah saya alami sendiri ).

Berikut saya coba tuliskan tutorial praktis cara posting kode html / javascript, ini berlaku untuk postingan yang menggunakan platform wordpress atau blogger / blogspot.
Konversi kode HTML secara online
a. Kunjungi Encode Decode HTML Converter di sini .
b. Masukkan kode html / javascript yang ingin Anda tampilkan di posting di kotak yang tersedia, terus klik menu “Encode”
c. Copy dan paste hasil encode yang ada dalam kotak ke posting Anda. Selesai, mudah bukan cara yang sangat instan.





Catatan: Jangan Lupa gunakan menu “HTML” pada saat posting kode html yang sudah di-encode tadi.
Konversi / Encoding HTML secara Manual
Untuk menulis kode html/javascript di posting secara manual sebenarnya cukup mudah. Ikuti tutorial singkat berikut:
1. Ganti setiap kode < dengan &lt;
2. Ganti setiap kode > dengan &gt;
Silahkan anda pilih mana yang paling gampang menurut anda, semoga bermanfaat