label element

next to input

wrapped around input

associated using for/id

with label + placeholder

Code

<label for="tst">name <input type="text" id="tst"></label>

Reference

HTML5 label element