Skip to content
Justice Tech School

Forms

form-control and form-label style inputs.

Example
<form>
  <div class="mb-3">
    <label for="e" class="form-label">Email</label>
    <input type="email" class="form-control" id="e">
  </div>
  <button class="btn btn-primary">Send</button>
</form>

Exercise

Input class.

class="form-"

Quiz Test

Which class styles an input?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.