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

How to add cell padding, Q. How to Add Cell Padding? As you can see, te...

Q. How to Add Cell Padding? As you can see, text is too close to the edges of the cells. You will add padding to the cells to leave room between text and cells. 1.  Click in

Show the instruction execution by using the micro-operations, Q. Show the i...

Q. Show the instruction execution by using the micro-operations? A simple instruction can require: Instruction fetch: fetching instructions from the memory. Instruc

Define rotational latency and disk bandwidth, Define rotational latency and...

Define rotational latency and disk bandwidth. Rotational latency is the additional time waiting for the disk to rotate the desired sector to the disk head. The disk bandwidth i

Conjunctive normal form -artificial intelligence , Conjunctive Normal Form ...

Conjunctive Normal Form -artificial intelligence : For the resolution law to determine two sentences, they should both be in a normalized format known as conjunctive normal fo

A digital signature, A digital signature is   encrypting information

A digital signature is   encrypting information

Explain macro definition and call, Explain Macro definition and call. ...

Explain Macro definition and call. Macro: The assembly language programming frequently finds this necessary to repeat certain piece of code several times during the course of

Source and destination are named the same, What happens if the both source ...

What happens if the both source and destination are named the same? Ans) The import operation present in MS Access does not overwrite or change any of the existing tables or obj

Placement algorithm - process allocation, Placement algorithm - computer ar...

Placement algorithm - computer architecture: Different strategies can be taken as to how space is allocated to processes: First fit : Allocate the first hole that is la

Project, write a programme to simulate a train station to automate

write a programme to simulate a train station to automate

Programming a 64-bit processor, You are to write a C program called big_mul...

You are to write a C program called big_mult.c that multiplies two unsigned 64-bit integers, x and y, read from the command line. The output is a pair of unsigned 64-bit integers r

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