tutorial for creating button action in html

0 votes
67 views
asked Jan 3, 2013 in HTML by Chanakya (545 points)
how to create button in html?
commented Jan 3, 2013 by Chanakya (545 points)
<form action="demo_form.asp" method="get">
  Choose your favorite subject:
  <button name="subject" type="submit" value="fav_HTML">HTML</button>
  <button name="subject" type="submit" value="fav_CSS">CSS</button>
</form>

1 Answer

0 votes
answered Jan 8, 2013 by admin (8,115 points)

us this code 

<input type="submit" value="Submit">

<button type="button">

<p><strong>HTML content</strong> is allowed in this button</p>

<p>See also the <a href="http://www.htmlquick.com/reference/tags/input.html">HTML input element</a>.</p>
</button>

...