HTML Element Style How to - Mark Password input placeholder text








Question

We would like to know how to mark Password input placeholder text.

Answer


<!DOCTYPE html>
<html>
<head>
</head>
<body>
  <input type="password" placeholder="Password">
</body>
</html>

The code above is rendered as follows: