<form>
  <fieldset>
    <legend>Awesome:</legend>
    <label for="firstName">The first name:</label>
    <input type="text" id="firstName" name="firstName"><br><br>
    <label for="lname">The last name:</label>
    <input type="text" id="lname" name="lname"><br><br>
    <input type="submit" value="Submit">
  </fieldset>
</form>
fieldset {
  background-color: #eeeeee;
}

legend {
  font-size: 19px;
  font-weight: bold;
}

input {
  margin: 5px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.