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

Опубликовано: 22 Февраль 2017
на канале: 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


Смотрите видео HTML 5 - Chapter 6 - HTML 5 form attributes (required, pattern, placeholder, Step, Height, Width) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ankpro Training 22 Февраль 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,771 раз и оно понравилось 19 людям.