prompt attribute (isindex)
Specifies a prompt message for the input field.
JavaScript page for this attribute: prompt. You can find other example(s) there. |
Possible values:
String that sets the prompt message.
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the prompt attribute:
|
||||
<isindex id="myIsIndex" prompt="Enter your search phrase: "/> |
||||
|
||||
Did you find this example helpful?
|
Example HTML code 2:
Recommendation:
|
||||
<hr /> Enter your search phrase: <input type="text" /> <hr /> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
External links:
User Contributed Comments