Horje

How is to look HTML placeholder Attribute

An input field with a placeholder text:
index.html
Example: HTML
 <form>
  <label for="phone">Enter a phone number:</label>
  <input type="tel" id="phone" name="phone"
  placeholder="123-45-678"
  pattern="[0-9]{3}-[0-9]{2}-[0-9]{3}">
</form> 

Output should be:

How is to look HTML placeholder Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Input Attributes
Uploaded by:
Admin