HTML Course

Notes about label

Go back

It's better to add a label for each input field, but this isn't mandatory πŸ˜’. Some developers are using this different syntax

<label>
    Name
    <input name="name" type="text" placeholder="John Doe" value="">
</label>