0

How do I use the tag <button>?

27th Oct 2017, 10:42 AM
Jared Duane T. Caringal
2 Answers
+ 2
The <button> tag defines a clickable button. Inside a <button> element you can put content, like text or images. This is the difference between this element and buttons created with the <input> element. eg:- <body> <button type="button" onclick="alert('Hello world!')">Click Me!</button> </body>
27th Oct 2017, 10:59 AM
ElizabethšŸŒø
ElizabethšŸŒø - avatar
+ 1
Thank you
28th Oct 2017, 12:46 PM
Jared Duane T. Caringal