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>
How is to look HTML placeholder Attribute | HTML Input Attributes |
Full Code Example of HTML placeholder Attribute | HTML Input Attributes |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Input Attributes |
Uploaded by: | Admin |