FUNDAMENTALS OF COMPUTER

WEB BROWSERS TECHNOLOGY

WHAT IS WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which code is correct for creating Textbox?
A
<input type="textbox” id="fname” name="fname">
B
<input type="text” id="fname” name="fname">
C
<input type="textfield” id="fname” name="fname">
D
<input type="textarea” id="fname” name="fname">
Explanation: 

Detailed explanation-1: -The HTML textbox is an input control that allows the user to enter the text input on the web page. The <input type = “text”> is used to create a textbox.

Detailed explanation-2: -HTML | <form> name Attribute It is used to reference the form-data after submitting the form or to reference the element in a JavaScript. Syntax: <form name="name"> Attribute Values: It contains a single value name which describes the name of the <form> element.

Detailed explanation-3: -Tip: Always use the <label> tag to define labels for <input type="text">, <input type="checkbox">, <input type="radio">, <input type="file">, and <input type="password"> .

There is 1 question to complete.