HTML <select> name attribute
definition and usage
name
attribute defines the name of the dropdown list.
name
attribute used to reference an element in JavaScript, or to reference form data after the form is submitted.
example
name অ্যাট্রিবিউট সহ ড্রপডাউন লিস্ট
<label for="cars">একটি গাড়ি ব্র্যান্ড নির্বাচন করুন:</label> <select name="cars" id="cars"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="opel">Opel</option> <option value="audi">Audi</option> </select>
syntax
<select name="text">
attribute value
value | description |
---|---|
text | ড্রপডাউন লিস্টের নাম নির্ধারণ |
ব্রাউজার সমর্থন
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
সমর্থন | সমর্থন | সমর্থন | সমর্থন | সমর্থন |