อยากให้น้อง ๆ ทุกคนใช้ปุ่ม "ใส่โค้ด" เพื่อใช้สำหรับใส่ตัวโค้ดต่าง ๆ ที่เราสร้างขึ้นมาครับ
โดยการใส่โค้ก็จะเป็นแบบนี้ครับ
โดยจะได้ผลการทำงานดังข้างล่างนี้
โค๊ด:
<a href="http://www.thaihi5.com" target="_blank">
<img src="https://2img.net/h/i266.photobucket.com/albums/ii256/pramecomix/feb-2008/005-34.gif"
alt="Click Here to Get This Picture"
title="Click Here to Get This Picture" />
<a>
โค๊ด:
var FastInit = {
onload : function() {
if (FastInit.done) { return; }
FastInit.done = true;
for(var x = 0, al = FastInit.f.length; x < al; x++) {
FastInit.f[x]();
}
}
}
โค๊ด:
body {
padding: 1em 1em 15em 5em;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 76%;
}
โดยเหตุผลที่ให้ทำแบบนี้เพราะเพื่อให้สามารถอ่านได้ง่าย และการจัดรูปแบบด้วยครับ