Internet preparation   Learn to Html   Learn to Flash
1.What is HTML?
2.Structure of HTML

3.
Tag related to the text
4.HTML character expression
5.How to set hyperlink of HTML
6.How to set Image/Sound of HTML
7.How to connect the document
8.How to draw up a table
9.How to divide the screen
10.CGI
 
10.CGI

<from>...</from> attribute
ACTION¡æ It appoints URL of CGI program, which execute data provided by user.
METHOD¡æIt appoints value of either"GET"or "POST", default value is "GET".
GET¡æData input by user are transferred to the program as environmental variable.
POST¡æData are transferred to the server in the form of standard input.
ENCTYPE¡æIt decides the data type sent to CGI program.

<input> ¼Ó¼º
<input> attribute
type=You should type the name of tool you want to build.
NAME=You should give a name to the tool you built.
VALUE=You input the default value.
SIZE=n¡æThe size of the tool
MAXLENGTH=n¡æThe maximum capacity of data you input.

type

The form of input

text

text input form

password

password input form

checkbox

check box input form

hidden

hidden input form

image

image input form

radio

radio button input form

submit

data sending input form

reset

re-input form


<SELECT  >... </SELECT>--->

<SELECT NAME="form_select">
<OPTION VALUE="¼­¿ï">¼­¿ï
<OPTION VALUE="ºÎ»ê">ºÎ»ê
<OPTION VALUE="±¤ÁÖ">±¤ÁÖ
<OPTION VALUE="ÀüÁÖ">ÀüÁÖ
 </SELECT>

<TEXTAREA>...</TEXTAREA>-->You can input data in several lines.

<TEXTAREA NAME="command" ROWS=10 COLS=50>
</TEXTAREA>

1)Text input form
You can use this form to input the one text line, it is used the most, you can make this by setting type trait of input as text.
Please click send button after you input data.

Example) 

<html>
<body>
µ¥ÀÌÅÍ ÀÔ·ÂÈÄ Àü¼Û ¹öưÀ» ´©¸£½Ã¿À<P>
<form method="get" action="process.cgi">
<input type="text" name="mytext">
<input type="submit" value="Àü¼Û">
</form>
</body>
</html>

 


2)
Check box
It displays the list for user to select, and user can select several items at the same time.

¿¹Á¦)

<html>
<body>
<form method="get" action="cgi file name">
<ol>
<li><input type="checkbox" name="aaa" value="a">»óÃß
<li><input type="checkbox" name="bbb" value="b">»ï°ã»ì
<li><input type="checkbox" name="ccc" value="c">°íÃß
</ol>
</form>
</body>
</html>


3)
Radio button
It displays the optional list for user to select only one item in the list.
If you select other item, the previous item you selected is removed.

Example)

<html>
<body>
<form method="get" action="cgi file name">
<ol>
<li><input type="radio" name="aaa" value="a">°íÃß
<li><input type="radio" name="aaa" value="b">»ï°ã»ì
<li><input type="radio" name="aaa" value="c">»óÃß
<li><input type="radio" name="aaa" value="d">¸¶´Ã
</ol>
</form>
</body>
</html>


4)
Direction button
Submit button enables the data input by user to transfer url of action appointed by <form>.
Reset button clears the whole value and remakes the initial value.

Example)

<html>
<body>
<form method="get" action="cgi url">
¼º¸í:<input type="text" name="name" size=12><p>
ÀüÈ­:<input type="text" name="phone size=32><p>
<input type="submit" name="transfer" value="Àü¼Û">
<input type="reset" name="cancel" value="Ãë¼Ò">
</form>
</body>
</html>


5)
List Selection
You can select the one in several options of the HTML document.
It is executed by <select>, is similar to radio button or check box.

¿¹Á¦)

<html>
<body>
<form method="get" action="cgl url">
<select name="°úÀÏÁ¾·ù" size=2 multiple>
<option>»ç°ú
<option>¹è
<option>µþ±â
<option>¹Ù³ª³ª
<option>ŰÀ§
</select>
</form>
</body>
</html>


6)
Text Area
Test field is different from text function, is available to input a great deal of information in several lines.
You can use <textarea>tag. /Please type the content.

Example)

<html>
<body>
<form method="get" action="cgi url">
<textarea name="textarea" rows="5" cols="50>
³»¿ëÀ» ³ÖÀº¼¼¿ä
</textarea>
</form>
</body>
</html>

 
   
Penpal
Club
Web Design Lecture
Essay
Korean Network
Korean Poets Associate in America
Korean School in Oversea
Positive Thinking
   
Home | About us | Learning Korean | ILDI Theme | Entertainment | Community


Copyright(c) 2002-2005  ILDI All rights reserved.
Customer support team: support@koreanstudy.net  Technical support team: webmaster@koreanstudy.net
Main Office (Korea) : TEL : 82-2-2040-6990 FAX : 82-2-2040-6995