HTML 5 - Chapter 6 - HTML 5 form attributes (required, pattern, placeholder, Step, Height, Width)

Published: 22 February 2017
on channel: Ankpro Training
1,771
19

HTML 5 form attributes Part 2 (required, pattern, placeholder, Step, Height, Width)

required :
The required attribute specifies that an input field must be filled out before submitting the form.
The required attribute works with the following input types: text, search, url, tel, email, password, date pickers, number, checkbox, radio, and file.

pattern :
The pattern attribute specifies a regular expression that the input element's value is checked against.
The pattern attribute works with the following input types: text, search, url, tel, email, and password.

placeholder :
The placeholder attribute specifies a hint that describes the expected value of an input field
The hint is displayed in the input field before the user enters a value.
The placeholder attribute works with the following input types: text, search, url, tel, email, and password.

step :
The step attribute specifies the legal number intervals for an input element.
Example: if step="3", legal numbers could be -3, 0, 3, 6, etc.
The step attribute works with the following input types: number, range, date, datetime-local, month, time and week.

Height and Width :
The height and width attributes specify the height and width of an
input type="image" element.


ankpro
ankpro training
Asp.net MVC
C#
C sharp
Bangalore
Rajajinagar
Selenium
Coded UI
Mobile automation testing
Mobile testing
JQuery
JavaScript
.Net
Components of the .Net framework
Hello World


Watch video HTML 5 - Chapter 6 - HTML 5 form attributes (required, pattern, placeholder, Step, Height, Width) online without registration, duration hours minute second in high quality. This video was added by user Ankpro Training 22 February 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,771 once and liked it 19 people.