How do I get name , email and message inside the bars | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I get name , email and message inside the bars

<form> <input place holder = "name" /><br /> <input place holder ="email" /><br /> <textarea place holder="message" ></textarea><br /> <input type = "submit" value="send"/> </form>

3rd Mar 2022, 4:07 AM
Adam Thrift
3 Answers
+ 3
placeholder
3rd Mar 2022, 4:09 AM
Simba
Simba - avatar
+ 1
<form> <div> <label for="email-input">Label text</label><br> <input id="email-input" type="email" name="email-inputted" placeholder="placeholder-text"> </div> <button type="submit">Submit</button> </form> Do the same for name and message In the same form
3rd Mar 2022, 8:35 AM
Muskan Dhawan
+ 1
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <form> <p> NAME: <input type="text" id="fname" placeholder="name" /> <br/> EMAIL: <input type="email" id="email" placeholder ="email" /><br /> MESSAGE: <textarea placeholder="message" ></textarea> <br /> <input type="submit" value="send"/> </form> </p> </body>
4th Mar 2022, 2:15 PM
aj Chavda