<!-- First Way -->
<label for="username">Username</label>
<!-- You can now assign id="username" so when you click on label element, it will go to the element. -->
<input type="text" id="username" />
<!-- Second Way -->
<label>
Password
<input type="text" />
</label>