Check out example codes for "html input text". It will help you in understanding the concepts better.

Code Example 1

<input type="email" name="name" id="id" placeholder="[email protected]" />

Code Example 2

<input type="radio">Hi</input>

Code Example 3

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

Code Example 4

<label for="name">Name (4 to 8 characters):</label>

<input type="text" id="name" name="name" required
       minlength="4" maxlength="8" size="10">

Code Example 5


    <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">


Learn ReactJs, React Native from