student
student

Reputation: 37

Why the submit button doesn't show the text?

Why the submit button doesn't show the text?

It shows:

enter image description here

The tag for it: <input type=submit name="OK" value=""/>

Thought <input type=submit name=OK value=""/> would help,but not.

Upvotes: 0

Views: 77

Answers (3)

Chris
Chris

Reputation: 234

You have to define into value="" the text to display.

Example :

<input type=submit name="OK" value="OK" />

Upvotes: 0

Sree
Sree

Reputation: 374

The value attribute will be shown in the button.

<input type=submit name=OK  value="button"/>

Upvotes: 1

marcelobrgomes
marcelobrgomes

Reputation: 64

Try this:

<input type="submit" name="OK" value="Submit Label"/>

See:

https://www.w3schools.com/tags/att_input_type.asp

Upvotes: 0

Related Questions