Wednesday, 20 January 2016

Creating Buttons Using the

The <button> element is a more recent introduction that allows you to specify what appears on a button between an opening <button> tag and a closing </button> tag. So you can include textual markup or image elements between these tags.
<button type=”submit”>Submit</button>
<button type=”reset”>I want to start again</button>

<button type=”button”><img src=”submit.gif” alt=”submit” /></button>
                      
                      Field sets
<fieldset> Group related elements in a form
<legend> Gives the caption to the fieldset.
<fieldset>
<legend>Personal information:</legend>
Name: <input type="text" size="30"><br>
E-mail: <input type="text" size="30"><br>
Date of birth: <input type="text" size="10">
</fieldset>

                          Text Area
<textarea> defines the area for text e.g. for comments
<textarea> </textarea>
You can define the area using the rows and columns attributes

0 comments:

Post a Comment