HTML Source: HTML Tutorials
Just like the rest of HTML, forms follow a structure. The
This tag and its attributes start a new form; name the form “feedback”, specify that the method the form will use is to post the information, and give the location that the information will be sent to with the action attribute — in this case your email address. Make sure you put your address in straight after the attribute, with no space in-between.
Warning. This method of sending the data will just send an email, and in truth will not always work because of the different way some people will have set their email programs up. If you want a more robust solution which will also add a thank-you message afterwards, you need to use Perl or some other server-side scripting language to write a script that will send the email for you, which is a bit more complicated. For your first form, just send it straight to your email address.
Once you’ve set down that a form is going here, you will need to populate it with some of the input elements and a submit button. Put the parts below between the form tags.
What you need to know before you continue reading
In the remainder of this blog, I will explain how to customize Radio button groups, Check Box and Check Box group by altering images used by these components using CSS.
In order to do this, there are a few pre-requisites to be met:
- Basic CSS knowledge
- Access to and basic knowledge of Image Editing tools (such as Adobe Photoshop, online editing websites like lunapic.com if you merely want to change the colors in images)