Why is that other text outside the <body> appears in the playground.check this code in playground ūüĎáūüĎáūüĎá | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 1

Why is that other text outside the <body> appears in the playground.check this code in playground ūüĎáūüĎáūüĎá

Hello! friend, we can use'placeholder' at the place of value. The placeholder attribute specifies a short hint that describes the expected value of an input field (e.g. a sample value or a short description of the expected format). The short hint is displayed in the input field before the user enters a value. Note: The placeholder attribute works with the following input types: text, search, url, tel, email, and password. Example: <!DOCTYPE html> <html> <body> <form action=k"https://www.youtube.com/; target="_blank" "> <input type="text" name="fname" placeholder="First name"><br> <input type="text" name="lname" placeholder="Last name"><br> <input type="submit" value="Submit"> </form> <p><strong>Note:</strong> The placeholder attribute of the input tag is not supported in Internet Explorer 9 and earlier versions.</p> </body> </html>

20th Aug 2019, 11:01 PM
Anistar
Anistar - avatar
2 Respostas
+ 2
You made a typo I think? <form action=k"https:...
8th Sep 2019, 3:51 PM
Name Omitted until I come back
+ 2
Same as the target attribute of the form tag. I see 3 quotation marks, which affects everything
8th Sep 2019, 3:52 PM
Name Omitted until I come back