Are you looking for something like <button type="submit" name="credit-card" value="Buy">Buy with a credit card</button> ?
If not, HTML is only about the STRUCTURE of a web page and the meaning added to that structure. What you're asking for is behaviour. Try looking up PHP and/or ASP.net.