9) HTML Text

This is HTML code for a form with three text fields, one radio button field, and a submit button:


The above code executes PHP to get the name of the page. Easier to get that action value by using the hash character (Thanks Greg!):


We’ve pre-set the value for the Subject line to “WP Survey3”.

Notice that the value for the submit type of input is pre-set to “Send”. This is the label that will appear on the button of the form. Like the other values, it can be any text string.

html.txt <- code in text format