Check out example codes for "input html". It will help you in understanding the concepts better.
Code Example 1
<input type="text" class="inputtext" placeholder="..." id="text1">
Code Example 2
<form
action="/action_page.php">
<label for="fname">First name:</label>
<input type="text"
id="fname" name="fname"><br><br>
<label for="lname">Last name:</label>
<input type="text"
id="lname" name="lname"><br><br>
<input type="submit" value="Submit">
</form>
Code Example 3
<form>
<input type="button">
<input type="checkbox">
<input type="color">
<input type="date">
<input type="datetime-local">
<input type="email">
<input type="file">
<input type="hidden">
<input type="image">
<input type="month">
<input type="number">
<input type="password">
<input type="radio">
<input type="range">
<input type="reset">
<input type="search">
<input type="submit">
<input type="tel">
<input type="text">
<input type="time">
<input type="url">
<input type="week">
</form>
Code Example 4
<input type="email" name="name" id="id" placeholder="[email protected]" />
Code Example 5
<input type="radio">Hi</input>
Code Example 6
<label for="name">Name:</label>
<input type="text" id="name"><br><br>
Learn ReactJs, React Native from akashmittal.com