Basic Form Tags Used in HTML

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Basic Form Tags used in HTML

<FORM> the beginning tag of a form. Needs to be closed with </FORM>. The typical attributes
of this tag NAME, METHOD and ACTION.

<NAME> Tag to give an identity to the form.

<METHOD> The HTTP method: GET, POST or LINK

<ACTION> The URL(which usually points to a CGI send data to

<INPUT> Indicates one of several types of user input,text,radio,checkbox,textarea,submit,reset

<SELECT > A selectable list of strings.

<VALUE> An optional attribute that specifies the initial any input element

<CHECKED> To check member of a checkbox family as default

<SELECTED> An optional attribute indicating the list item is initially selected.

<SUBMIT> When this button is clicked, the form data input sent to the URL indicated by ACTION

<RESET> To clear all the fields entered on the form.

,CGI is a specification for transferring information between


a World Wide Web server and a CGI program. A CGI
program is any program designed to accept and return
data that conforms to the CGI specification. The program
could be written in any programming language,
includingC, Perl, Java, or Visual Basic.

You might also like