Button | SoloLearn: Learn to code for FREE!



syntax for this

11/25/2016 2:38:58 PM

Prajwol Gautam

3 Answers

New Answer


this is button submit in form<input type="submit"value="button"/> and you can use <button onClick="alert('hi')">Button</button>


<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>


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>