Get Your Own Cool Button!

Start from an example or jump right in!

Reset to Defaults

What your button looks like:

The code for your button:

Want to share your button with others?


Gallery


Alternatives to HTML Form Code

If the above code is too cumbersome for you or doesn't work, you have two options.

  1. Javascript
  2. Sometimes it is easier to use Javascript, especially when you want the default.

    What your button looks like if using Javascript:

    The Javascript code for your button:

    Tip! you can replace "makebutton.js" with the even shorter "mb.js".

    Tip! you can usually omit the type="text/javascript" part.

    Tip! look how short the (curiosity damiga) example is in Javascript.

  3. Links
  4. When all else fails, you can always just link to a page that'll let visitors press a button.

    Any of the following 3 links would work.

    What it looks like: Link 1 Link 2 Link 3