Value displaying instead of placeholder text for input type text

The value of the input type text is displaying instead of placeholder text in the code example. Tried writing the code all on one line (a suggestion I read elsewhere) and that didn’t work either.

  <input type="email"
  style="height:20px; width:250px;"
  name="email"
  value="e-mail"
  placeholder="E-mail"
  required>

How can I fix this?

Don’t set a value on the input.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.