HTML form question

I’m not 100% sure if this is a HTML issue or PHP but I’m reading PHP and MySQL Novice to Ninja! I’m on page 119 and am hung up on a bit of code for the form.

<div>
<label for=“joketext”>Type your joke here: </label>
<textarea id=“joketext” name=“joketext” rows=“3” cols=“40”>
</textarea>
</div>

Please elaborate on this bit of code.

I believe the textarea id=“joketext” is part of the associative array.
I believe the textarea name=“joketext” is the post variable.
I’m totally lost as to what the label for=“joketext” is for.

It’s the label for the textarea with the name “joketext”.

(This is what a <label> is.)

[FONT=Verdana]There is a fuller explanation of label here: http://reference.sitepoint.com/html/label[/FONT]

AH! That makes since now. Thanks. That helped a lot.