![](../icon/headdata.png)
Ẻ¿ÍÃìÁ¨Ñ´à»ç¹Í§¤ì»ÃСͺÅ˹Öè§ ·Õè¶Ù¡¹ÓÁÒãªéÊÓËÃѺ¡Òûé͹¢éÍÁÙÅà¾×èÍà¡çºÃǺÃÇÁ¢éÍÁÙŨҡ¼Ùéãªé äÁèÇèÒ¨Ðà»ç¹¢éͤÇÒÁ ËÃ×Íàªç¡ºçÍ¡«ìµèÒ§ æ â´ÂÀÒÂËÅѧ¨Ò¡¼Ùéãªéä´é¡ÃÍ¡¢éÍÁÙÅŧã¹áºº¿ÃÍìÁ áÅéǤÅÔ¡»ØèÁÂ×¹ÂѹÊ觢éÍÁÙÅ â»Ãá¡ÃÁàºÃÒÇìà«ÍÃì¡ç¨ÐÊ觢éÍÁÙÅ¡ÅѺä»Âѧà«ÔÃì¿àÇÍÃì»ÅÒ·ҧ «Ö觹ѡ¾Ñ²¹ÒàÇ纡ç¨ÐÁÕÇԸըѴ¡ÒáѺ¢éÍÁÙÅ äÁèÇèÒ¨Ðà»ç¹ ¡ÒÃà¢Õ¹ʤÃÔ»µìà¾×èÍá¡¢éÍÁÙÅ·Õèéͧ¡Òà áÅШѴà¡çºÅ§ã¹°Ò¹¢éÍÁÙÅ ¨Ò¡¹Ñ鹡ç¨ÐÊ觢éÍÁÙÅâµéµÍº¡ÅѺÁÒÂѧ¼ÙéãªéÃѺ·ÃÒº¼èÒ¹·Ò§àºÃÒÇìà«ÍÃì ËÃ×ÍÍÒ¨¨ÐµÍº¡ÅѺ·Ò§ÍÕàÁÅì
â¤Ã§ÊÃéÒ§ Element ÊÓËÃѺÊÃéҧẺ¿ÍÃìÁ
<form name="form_name" method="get | post" action="url" target="window name">
....
</form>
㹡ÒÃÊÃéÒ§¿ÍÃìÁ ¨ÐÁÕ¤ÇÒÁ¤ÅéÒ¤ÅÖ§¡Ñº¡ÒÃÊÃéÒ§µÒÃÒ§ â´Â¨ÐÍÂÙèã¹á·ç¡ body ·ÕèàÃÔèÁ¨Ò¡á·ç¡¤ÓÊÑè§àÃÔèÁµé¹¶Ñ´ÁÒ¡ç¨Ðà»ç¹ÍÔÅàÁç¹µìµèÒ§æ ·Õèà¡ÕèÂÇ¢éͧ â´Âá·ç¡àÃÔèÁµé¹¢Í§¡ÒÃÊÃéÒ§¿ÍÃìÁ¤×Í <from>...<from> áÅСÒÃÊÃéÒ§¿ÍÃìÁ¨ÐÁÕá͵·ÃÔºÔǵìÍÂØè 4 µÑÇ ·Õèµéͧ¡Ó˹´ã¹¡ÒÃÊÃéÒ§¿ÍÃìÁ
- method="get | post" à»ç¹ÃٻẺ¢Í§ÇÔ¸Õ㹡ÒÃÊ觢éÍÁÙÅ ÁÕ 2 ÃٻẺ
get à»ç¹µÑÇÃѺ - Êè§ ¢éÍÁÙÅ¢¹Ò´¨Ó¡Ñ´¨Ò¡ Server äÁèà¡Ô¹ 256 µÑÇÍÑ¡ÉÃ
post à»ç¹µÑÇÃѺ - Êè§ ¢éÍÁÙÅäÁè¨Ó¡Ñ´¨Ò¡ Server
- action="URL" ¤×͵Óá˹è§ËÃ×Í URL ¢Í§ Script ·ÕèÇÒ§äÇé·Õè Server
- target="_blank | _self | _parent" ˹éÒµèÒ§·Õè¨ÐãËé¼Å¢Í§ Script áÊ´§¼Å
ÀÒÂã¹ Element <form>...</form> ¨Ð»ÃСͺ´éǪèͧ element 3 »ÃÐàÀ· ¤×Í
1. <input>...</input>
2. <select>...</select>
3. <textarea>
«Ö觨Ðà»ç¹ÃٻẺ¡Òûé͹¢éÍÁÙÅã¹ÃٻẺµèÒ§ æ ÊÒÁÒöàÅ×Í¡ãªéä´éµÒÁ¤ÇÒÁàËÁÒÐÊÁáÅЧèÒµèͼÙéãªé§Ò¹