Dave's Brain

Browse - Programming Tips - Why isn't my button looking like a button?

Date: 2017oct19
Language: html

Q.  Why isn't my <button> looking like a button?

A.  You probably need to add type=button

<button type='button'>Click me</button> RIGHT
<button>Click me</button> WRONG

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.