+ 14
How to add a text on a button?
I don't know how to add a text on a button https://code.sololearn.com/W7my4b4xisBZ/?ref=app
20 ответов
+ 16
Use <button>text</button> rather than <input>
+ 10
Use
<button>text </button>
+ 8
Thanks for your answer...
I already change it...
+ 5
<button>Your Text</button>
I suggest you use javascript to make your like counter.
+ 4
Anubis I think addEventListener("click", function() {} ); is recommended and better way to do this, and more "powerful".
+ 4
<button type="button">Text</button>
Always specify the type attribute for a <button> element
+ 4
THERE ARE SEVERAL WAYS OF ADDING TEXT ON BUTTONS
1 <button type=“button”> text
</button>
2 <input type=“submit” value=“text”>
3 <input type=“button” value=“text>
+ 4
<button>text</button>
+ 2
if you are collecting likes
<input id="inputbutton" type="button" value="LIKE"></input>
+ 2
Just add that text you want inside the opening and closing button tag. For eg
<button type="button">Web</button>
+ 2
<button>Text</button>
Try to add some CSS to beautify it!
+ 2
<input type=“button” value=“your text here!”/>
+ 2
add this to your code
<button type="button">add text here</button>
+ 2
You have 2 ways.
<button>Text</button>
<input type="submit" value="TEXT">
+ 2
you should use tag button:
<button> text </ button> rather than <input>
+ 1
<button>text</button >
+ 1
<button>YOUR TEXT</button>
+ 1
<button>text</button>
0
Fill in the blanks to create a valid unordered list.
<>
<>One</li>
<li>Two<>
<>