Check out example codes for "html label for". It will help you in understanding the concepts better.
Code Example 1
<label for="username">Click me</label>
<input type="text" id="username">
Code Example 2
<label for="id_of_what_you're_labeling"></label>
<!-- for example-->
<label for="username"></label>
<input type="text" id="username">
Code Example 3
<form action="/action_page.php">
<label for="male">Male</label>
<input type="radio" name="gender" id="male" value="male"><br>
<label for="female">Female</label>
<input type="radio" name="gender" id="female" value="female"><br>
<label for="other">Other</label>
<input type="radio" name="gender" id="other" value="other"><br><br>
<input type="submit" value="Submit">
</form>
Code Example 4
<!-- By reference -->
<label for="first_name">First Name</label>
<input type="text" id="first_name" name="first_name">
<!-- By wrapping -->
<label>First Name
<input type="text" name="first_name">
</label>
Learn ReactJs, React Native from akashmittal.com