how to add placeholder to this form code?

by 4 replies
6
Can anyone help. I need to the placeholder "email" in the input box for this form code.

Thanks, Ron

<div id='subscription_form_xxxxx'>
<form method='post' action='http://www.domain.net/auto/a.php/sub/19/xxxx'>
<div>

<input type='text' id='email_address' name='email_address' value=''>
<input type='submit' value='Get Coupon'></div>
</form>
</div>
#programming #add #code #form #placeholder
  • Code:
    <form action="demo_form.asp">
    <input type="text" name="fname" placeholder="First name"><br>
    <input type="text" name="lname" placeholder="Last name"><br>
    <input type="submit" value="Submit">
    </form>
    For more information check w3schools hear.

    -Himanshu

    PS: A quick google would have revealed the solution.

    • [1] reply
    • I did a google search and found those very same instruction but for some reason I couldn't get it to work on the form. I'm not a programmer. That's why I asked her how to make it work with this specific form.
      • [1] reply
  • Banned
    [DELETED]
    • [1] reply
    • I think cause of the WWW. in your url, the link doesn't work .. Learnsauce looks sweet, tho it doesn't look tatally free!

Next Topics on Trending Feed