Resources Menu


Quick Reference Sheets for Webmasters

Quick Reference sheets are packed full of useful information for all webmasters.

HTML Reference Sheet

HTML Tag List


<form>
This tag creates a form which allows user input. A form can contain many different form elements such as text fields, radio buttons, checkboxes, textareas and more.

Attributes
action
Value(s) : URL
This defines the URL or link where the form data will be sent to when the form is submitted.
method
Value(s) : get | post
The method attribute defines the way that the data will be sent. With a post request, the form names and values are hidden to the browser and not included in the website address whereas a get method appends the form information to the end of the URL.
accept
Value(s) : content type(s)
A list of accepted content types separated by commas.
accept-charset
Value(s) : character set(s)
A list of character sets separated by commas.
enctype
Value(s) : mimetype
The mime type is used to encode the content of the form.
name
Value(s) : form name
This will define a unique name for the form. This is especially useful when using any dynamic client-side scripting such as javascript.
target
Value(s) : _blank | _self | _parent | _top
This defines a target location for the form.
example:
<form method="post" action="mailto.php">
<label>Full Name</label> <input type="text" name="Fname"><br>
<label>Email</label> <input type="text" name="Email"><br>
<input type="submit" value="Send Info">
</form>