Er, you mean the one before that - "outputting HTML".
In your case, the problem comes from the fact that you're outputting invalid HTML. All attributes must have quote-delimited values; your value attribute is missing quotes.
Also note that you should be using something like [man]htmlentities/man when outputting user-supplied data into HTML markup so as to prevent the user data from breaking your HTML.