Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The most common value of the type attribute for the text box form element is ___

ID: 3851911 • Letter: T

Question

The most common value of the type attribute for the text box form element is _____. 1. character 2. text 3. textbox 4.textype The _____ attribute sets a limit on the number of characters a user can type in a text box. 1. maxsize 2. maxwidth 3. maxlength 4. maxchar Which element(s) is(are) used to organize form controls? 1. fieldset 2. fieldgroup 3. legend 4. both 1 and 2 Radio buttons are also known as _____ buttons 1. key 2. choice 3.data 4. option The _____ attribute of a radio button determines what data will be sent to the database if the user selects a particular button. 1. choice 2. key 3. selection 4.value

Explanation / Answer

41)
Ans)
2
By default we will use text as the textbox type for most of the textbox form elements. Below is an example.
e.g: <input type="text" name="firstname">

42)
Ans)
3
The maxlength attribute allows you to specify maximum allowable length for the input field. Here in the below example we are restricting input text field to be of 10 characters length at max.
e.g: <input type="text" name="firstname" maxlength="10">

43)
Ans)
1
The 'fieldset' element is used to organize form controls and 'legend' acts as a heading to identfy the group. Below is an example.
e.g:
<fieldset>
<legend>Weekly newspaper example</legend>
   <div>
       <input type="checkbox" name="news" id="checkbox_1">
    <label for="checkbox_1">Weekly newsletter</label>
   </div>
   […]
</fieldset>

44)
Ans)
4
Radio button are also known as option button because it allows user to select one out of a list of choices. Below is an example.
e.g:
<form>
<input type="radio" name="Gender" value="male" checked> male<br>
<input type="radio" name="Gender" value="female"> female<br>
<input type="radio" name="Gender" value="other"> other
</form>

45)
Ans)
4
The value attribute of a radio button determines what data will be sent to database. Below is an example.
e.g: var x = document.getElementById("ExampleRadio").value;
Here we are trying to get the value of radio button ExampleRadio using value attribute.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote