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

Explain technical reasons which made microsoft withdraw, Explain technical ...

Explain technical reasons which made Microsoft withdraw its support for VBA in Mac? Ans) The reasons which made Microsoft drop its carry to VBA are as follows, Microsoft visual

Describe the functions of an operating system, Question: (a) Software ...

Question: (a) Software may be categorized into System software and Application software. Differentiate between these two categories, using examples to support your answer.

List criteria of data structures used in language processing, List the crit...

List the criteria on the basis of which data structures used in language processing can be classified. In language processing the data structures utilization can be classified

Give explanation of user datagram protocol, Explain UDP (User Datagram Prot...

Explain UDP (User Datagram Protocol). UDP utilizes a connectionless communication paradigm. It is an application of using UDP doesn't require preestablishing a connection befor

Explain gray code, Explain Gray Code Ans. Gray Code 1.  Extreme...

Explain Gray Code Ans. Gray Code 1.  Extremely useful code. Also termed as reflected code. 2.  All gray code is different from the preceding and succeeding codes thr

Code density and smaller faster programs, Q. Code Density and Smaller Faste...

Q. Code Density and Smaller Faster Programs? Memory was very expensive in older computer. So there was a need of less memory utilization, which is it was cost effective to have

Types of structure charts, Types of Structure Charts Transaction struc...

Types of Structure Charts Transaction structure - control module calls subordinate modules, each of which handles a certain transaction More afferent processes Le

What is microcomputer system, Q. What is microcomputer system? The micr...

Q. What is microcomputer system? The microcomputer has a single microprocessor and a number of RAM and ROM chips as well as an interface unit which communicates with several ex

What are the restrictions on subscreens, What are the restrictions on Subsc...

What are the restrictions on Subscreens? Subscreens have various restrictions.  They cannot: Set their own GUI status Have a named OK code Call another screen

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