मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता ११

Which tag is used to specify the list of items in dropdown list box?

Advertisements
Advertisements

प्रश्न

Which tag is used to specify the list of items in dropdown list box?

टीपा लिहा
Advertisements

उत्तर

  • The <select> tag is used to create dropdown list box in HTML.
  • The <option> tag is used to specify list items.

Attributes of <Option> tag:
Selected – Indicate default selection Value – Value to be submitted to server

Example:

<Select name = area size = 1>
<option value = CHN> Chennai </option>
<option value = MDR selected> Madurai </option>
<option value = CBO> Coimbatore </option>
<option value = KKM> Kanyakumari </option>
</Select></p>
shaalaa.com
Working with Forms
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 12: HTML - Adding multimedia elements and Forms - Evaluation [पृष्ठ २८४]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 11 TN Board
पाठ 12 HTML - Adding multimedia elements and Forms
Evaluation | Q 5. | पृष्ठ २८४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×