📚 › HTML: build the structure of a web page
11. Forms: inputs and labels
इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।
A form collects information. input elements receive text and their type decides what kind: text, email, number, password or date. A label connects text to its field, so clicking the label focuses the field.
Form fields should always have a label.
उदाहरण देखें
<form>
<label for="name">Name</label>
<input id="name" type="text">
</form>
✍️ अब आपकी बारी
Build a form with a label Email for an input of type email with id email.