Button | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Button

syntax for this

25th Nov 2016, 2:38 PM
Prajwol Gautam
Prajwol Gautam - avatar
3 Answers
+ 3
this is button submit in form<input type="submit"value="button"/> and you can use <button onClick="alert('hi')">Button</button>
25th Nov 2016, 2:56 PM
Nguyễn Hoàng Long
Nguyễn Hoàng Long - avatar
+ 2
<button>Your Button</button> These are the opening and closing. This creates a simple button To hyperlink it to another page use. <button href=new.html>Your Button </button>
25th Nov 2016, 4:20 PM
Nandan B N
Nandan B N - avatar
0
you can use the <button></button> tags, or the form tags as follows: <form> <input type="button"> </form> or the same form way but with a submit type button < form> <input type="submit"> </form>
29th Nov 2016, 8:22 AM
Orfeo Terkuci
Orfeo Terkuci - avatar