<form action="" method="get">
<fieldset>
<legend>Caption for Fieldset</legend>
<label for="subject">Enter Info:</label>
<input type="" name="" id="subject" value="">
<textarea name="" id="" cols="30" rows="10"></textarea>
<select name="" id="">
<option value=""></option>
<option value=""></option>
</select>
</fieldset>
</form>
A simple form showing elements used for forms. A name attribute must be included for each value. To send data to external sources as name:value pairs. Form element wraps the other inside forms elements. Can't have a form element inside another form element.
action="url of where to send data to"
method="get post" - use post if sending sensitive information
target="_blank, _self, _parent, _top" - determines where response should be displayed
enctype=" data encoding scheme to be used, only for post"
autocomplete="on off" - determines if the form has autocomplete enabled
novalidate - determines whether the form should be validated before submission
accept-charsets - determines character encodings when form is submitted
Attributes to be used on the <form> element.
<fieldset>
<legend> Caption </legend>
<input name="">
<input name="">
</fieldset>
Used to group and define related inputs and labels.
<label for="match"> Describe Input </label>
<input type="checkbox" name="" id="match">
To give an input a label, same id and for attributes. Useful for screen readers.