Notes:
It turns out I was wrong about what the <label>
tag is for. <label>
tags are used to associate
input fields with a useful label. Both for the screen reader case I
mentioned in class but also for normal users. For example, click
on one of the labels in this file and your cursor or focus should jump to the
relevant input field. There are 2 styles for associating a <label>
with an <input>
. I have used both in this file for
the first and last names. One is to put the whole <input>
element inside the <label>
element the other is to
use a for="id"
attribute to associate the <label>
to the <input>
with the given id. Sorry for the confusion.