HTML Placeholder Attribute
Placeholder Attribute.
Use the below reference image link:.
https://assets.ccbp.in/frontend/content/dynamic-webapps/ce-3-2-1-html-placeholder-attribute-op.png
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <h1>Let's Ride</h1>
  <p>Free bike rides to join, and great cycle routes to explore.</p>
  <input type="text" placeholder="Enter your Location">
</body>
</html>
Comments
Leave a comment