form element w3 code example Example: how to collect input textbox in html <label for="name">Name:</label> <input type="text" id="name"><br><br>