Starlit Daily

📚 › HTML: build the structure of a web page

12. More form controls: select, textarea, checkbox, radio, button

इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।

select makes a drop-down list with option elements. textarea is a multi-line text box. A checkbox lets people tick several choices, and radio buttons let them pick one from a group that shares the same name.

button sends the form. Use type="submit" for submitting and type="button" for other actions.

उदाहरण देखें

<select name="city"><option>Dhaka</option><option>Sylhet</option></select>
<textarea name="msg" rows="3"></textarea>
<input type="checkbox" name="news"> News
<button type="submit">Send</button>

✍️ अब आपकी बारी

Add a select named level with options Beginner and Advanced, and a submit button that says Go.

← कोर्स पर वापस