1/12/2009
Cara Menulis Kode HTML pada Posting Blog
<img src="http://itknowledgeexchange.techtarget.com/overheard/files/2008/02/yahoo_logo.jpg" border='0'/>
Tapi apa yang terjadi? justru kode tersebut malah tereksekusi. Alhasil, saya tidak bisa berbagi bagaimana cara memasang gambar pada blog, tapi justru malah muncul gambar seperti di bawah ini :
Lalu bagaimana caranya agar kode HTML tersebut keluar secara utuh dalam bentuk text dan tidak tereksekusi ya..??
caranya ternyata sangat simpel dan tidak memerlukan HTML yang lebih rumit. Ternyata Anda cukup mengganti tanda "<" pada awal kode HTML menjadi "& lt;" (antara tanda & dan lt; jangan diberi spasi..!! Kebetulan saya belum bisa menuliskan tanda tersebut pada posting sehingga tidak berubah menjadi tanda "<",hehe..)
Selanjutnya, Anda harus mengganti tanda kurung tutup ">" menjadi "& gt;" (Sama seperti di atas, tanda & dan gt; jangan diberi spasi atau jarak).
Sebenarnya berdasarkan sumber yang saya baca, untuk memasukkan kode HTML ke posting blog kita memerlukan HTML yang lebih rumit. Tapi setelah saya coba-coba modifikasi, ternyata dengan cara ini sudah bisa.
Semoga posting saya kali ini dapat menambah kelancaran para blogger dalam berbagi ilmu terutama mengenai kode-kode HTML yang sangat bermanfaat bagi blog kita. Selamat mencoba..!!
22 komentar:
sip mas, saya juga pernah cari untuk menulis teks link asli supaya bisa di copy paste tapi blom berhasil Blog Bisnis Online. Saya coba pakai < juga untul <. Yang muncul malah text anchor.. he..he..
Wah, boleh juga nih tipsnya. prlu dicoba biar bisa merasakan hasilnya, hehehe..
Nggak berani nyoba, ya nggak pinter, tul gak Mas?
mey pagi, bleh juga tuh postingannya...... jadi tambah ilmu lagi nic?
makasih ya atas ilmunya
wah ini dia..
sayang di blogger gaada tag code kan ya..
kayak di forum2... ^^
dapet ilham darimana bro??
dapet dari browsing2.. tapi saya coba modifikasi, ternyata bisa dengan cara sesimpel itu,hehe..
dapet ilmu baru nih critanya
@_@ wowowowowowowowowowowowowo....
ternyata mudah ya untuk memasang kode html pada blog....
mkasih atas infox
q kra msang html tu slit stlah q cba pkek cra itu
bgus jga n sngat mdah
he3x
tambah ilmu nih...
makasih ya bro...
tukeran link yuk...
punya mas udah saya masukin tuh...
cek di http://lagadunia.blogspot.com
GOOD
oo ternyata mudah yah
okelah kalo begitu tuker link mas
aku dah pasang link sampeyan
www.compac8bhe.co.cc
nice info kawan...
jadi tambah banyak ilmu nih
SIGN UP DISINI LANGSUNG DAPAT 10$, gw udah buktiin
The following tips will help you make the right choice. It is always sensible to take a high-quality amount of time. These kind of post are always inspiring and I prefer to read quality content so I happy to find many good point here in the post.
Bux.to is the best anyway.
I found your site on technorati and read a few of your other posts. Keep up the good work. I just added your RSS feed to my Google News Reader. Looking forward to reading more from you down the road!
Sebenarnya berdasarkan sumber yang saya baca, untuk memasukkan kode HTML ke posting blog kita memerlukan HTML yang lebih rumit. Tapi setelah saya coba-coba modifikasi, ternyata dengan cara ini sudah bisa.
While there may be limited languages currently for CodeHtmler it is very extensible so you can easily add new language definitions, by just modifying an xml file. Checkout the project at http://www.codeplex.com/CodeHtmler.
Make Money Online Forum
The following tips will help you make the right choice. It is always sensible to take a high-quality amount of time. These kind of post are always inspiring and I prefer to read quality content so I'm happy to find many good point here in the post.
Instant Approval Article Directory
Thanks for the blog. I’ve been digging around looking some info up for a project, but i think I’m getting lost!. Google lead me here – good for you i guess! Keep up the good work. I will be popping back over in a few days to see if there is updated posts.
Free sms jokes, Love sms, Funny sms, Birthday sms, Friendship sms & shayari
jasa pembuatan dokumen expatriat
Post a Comment
If you leave comment here, Google, Yahoo!, and MSN will "catch" you...