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

IA-32 support, In order to support IA-32 Itanium can switch in 32-bit mode ...

In order to support IA-32 Itanium can switch in 32-bit mode with special jump escape instructions. IA-32 instructions have been mapped to Itanium's functional units. But as Itanium

Cn, What is the basic requirement for establishing VLANs?

What is the basic requirement for establishing VLANs?

Show encoding data options, Q. Show Encoding data options? PVM uses SUN...

Q. Show Encoding data options? PVM uses SUN's XDR library to make a machine independent data format if you request it. Settings for encoding option are:  PvmDataDefault: Use

Define wait protocol, Q. Define Wait protocol? The wait protocol is use...

Q. Define Wait protocol? The wait protocol is used for resolving conflicts that arise due to some multiprocessors requiring same resource. There are 2 kinds of wait protocols:

How optimization is achieved in dns, How optimization is achieved in DNS? ...

How optimization is achieved in DNS? Two primary optimizations used in DNS and they are: replication and caching. All root servers is replicated; various copies of the server

Illustrate character coded data, Q. Illustrate Character Coded Data? Th...

Q. Illustrate Character Coded Data? The input output happens in the form of ASCII data. These ASCII characters are entered as a string of data. For illustration to get two numb

Explain dma and interrupt breakpoints, Q. Explain about DMA and Interrupt B...

Q. Explain about DMA and Interrupt Breakpoints? DMA interface transfers complete block of data one word at a time directly to or from memory without going through processor. Wh

Explain the wap stack in brief, Discuss the WAP stack in brief. The pro...

Discuss the WAP stack in brief. The protocol stacks part implemented by WAP Stack for the WAP development and research platform. The protocol stack will be exploited into many

Pc cross assembler, 1.0 By working throughthe first time guide this will ga...

1.0 By working throughthe first time guide this will gain familiarity with the on board monitor and the PC cross assembler  After connecting the system to the terminal program,

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