English

What is the purpose of <input> tag?

Advertisements

Question

What is the purpose of <input> tag?

Short/Brief Note
Advertisements

Solution

Most of the form controls are created by using <input> tag. The <input> is an empty tag used to create different form elements or controls such as text box, radio buttons so on.

Type attribute is used define the type of control to be created by <input> tag.

shaalaa.com
Working with Forms
  Is there an error in this question or solution?
Chapter 12: HTML - Adding multimedia elements and Forms - Evaluation [Page 284]
Advertisements
Share
Notifications



      Forgot password?
Use app×