मराठी

Which of the following tag is used to define options in a drop-down selection list?

Advertisements
Advertisements

प्रश्न

Which of the following tag is used to define options in a drop-down selection list?

पर्याय

  • <select>

  • <list>

  • <dropdown>

  • <option>

MCQ
Advertisements

उत्तर

<option>

Explanation:

The <select> and <option> tag pair is used to generate a drop-down selection list. Below is an example:

<form action="://gmail.com" method="get">
  <select name="stream">
    <option value="science">Science</option>
    <option value="commerce">Commerce</option>
    <option value="humanities">Humanities</option>
  </select>
  <input type="submit" value="Submit">
</form>

A selection drop-down list is specified by the <select> tag, while the different options that can be chosen from are specified by the <option> tag.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 5: HTML- III: Audio, Video and Forms - Assisted Practice [पृष्ठ २२९]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
पाठ 5 HTML- III: Audio, Video and Forms
Assisted Practice | Q 15. | पृष्ठ २२९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×