How we use place holder in forms ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How we use place holder in forms ?

HTML

30th May 2019, 11:17 AM
PRAVEEN R
PRAVEEN R - avatar
2 Answers
+ 1
Inside the opening tag of form element just add this code: placeholder = "whatever you like" Example: <input type = "text" name= "input" placeholder = "The king">
30th May 2019, 11:38 AM
Thống Nguyễn
Thống Nguyễn - avatar
0
Thank you very much
30th May 2019, 11:50 AM
PRAVEEN R
PRAVEEN R - avatar