HTML and CSS Reference
In-Depth Information
<button type=submit>
Order <img src="icons/exclaim.gif" align=middle alt="Order Now"> Now!
</button>
Notice that you can exploit the rich set of <img> tag attributes, including
align and alt , for this <button> style of form control.
Because the <button> tag is so similar to the <input type=button> ele-
ment, why have it at all? The only reason is to provide far richer con-
tent for buttons. If your buttons are conventional text buttons, the <in-
put> tag will suffice. If you want to create fancy, mixed-content buttons,
you'll need to use the <button> tag.
 
Search WWH ::




Custom Search