how to collect input textbox in html

HTML
<label for="name">Name:</label>
  <input type="text" id="name"><br><br>
Source

Also in HTML: