Explain form and input tag, Computer Engineering

Assignment Help:

Q. Explain FORM and INPUT Tag?

A good way to learn about forms is to make use your notepad editor and make a new HTML document. Save it as form1.htm in some folder somewhere. You may want to create a separate folder for learning this tag. Start up your browser. Use it to open form1.html as well as run Notepad and browser side by side. Hence you can create your pages and almost instantly see the results of your work. Remember to hit refresh button on your browser.

Next we should tell the browser where to send data we gather and how to send it.

There are two methods you can do this.

1)  You can send the data to a cgi script or use some other mechanism for processing

2)  You can have the data emailed to you. First option is outside the scope of discussion.

Second, or mailto, form should have the below attributes in <FORM>tag.

Note: Microsoft's Internet Explorer 3.0 doesn't support mailto forms. When you try to submit information, new mail message window pops up. It does support forms sent to a CGI script.

<HTML>

<HEAD>

<TITLE> Welcome to EXPERTSMIND.COM </TITLE>

</HEAD>

<BODY>

<FORM METHOD=POST ACTION="mailto:[email protected]"

ENCTYPE="application/x-www-form-urlencoded">

</FORM>

</BODY>

</HTML>

The line containing mailto keyword in the Figure is very noteworthy. The only thing you have to do is specify your email address after mailto: Rest should be written exactly as demonstrated. The words FORM, METHOD, POST and ACTION don't have to be capitalized but there should be a space between every two attributes, between FORM and METHOD, between POST and ACTION, and between email address and ENCTYPE.

Some mail programs are capable of converting data without needing a separate program. You might want to try this method first. Just remove instruction.


Related Discussions:- Explain form and input tag

What is a zombie, What is a zombie? When a program forks and the child ...

What is a zombie? When a program forks and the child finishes before the parent, the kernel still keeps some of its information about the child in case the parent might require

JAVA, HOW WAS JAVA INVENTED?

HOW WAS JAVA INVENTED?

Mobile cameras, Mobile cameras are characteristically low-resolution Digita...

Mobile cameras are characteristically low-resolution Digital cameras integrated in mobile set. Photographs are characteristically only good enough to show on low resolution mobile

Write a bash-c shell script, Write a BASH/C shell script which takes a name...

Write a BASH/C shell script which takes a name of a directory as a command line argument, and prints unique login name of the users having files in that directory. Your code should

Two ways of constructing a larger module to mount flash chip, What are the ...

What are the two ways of constructing a larger module to mount flash chips on a small card? The two ways are:- a) Flash cards b) Flash drivers.

Drag and drop state numbers and functions in vb, State 0 Source control is ...

State 0 Source control is being dragged with the variety of a target. 1 Out of the variety of a target. 2 One position in the target to one another.

Explain about the prepurchase interaction activity, Explain about the Prepu...

Explain about the Prepurchase Interaction activity. Prepurchase Interaction: This interaction for consumers comprises three activities: • Product or service search and di

What are the different types of computer networks, Q. Mention different cla...

Q. Mention different classes of computer networks (on the basis of scale) and distinguish one from the other. Ans: Local Area Network (LAN) Metropolitan Area Netw

The values 15 and 11 can also be defined by variable, In the statement Writ...

In the statement Write:/15(10) lfa1-lifnr. The values 15 and 11 can also be defined by variable. No, the value of 11 nad 15 is not described by variable.

Xternal report the parameters or select-options, Normal 0 false...

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd