Page 102 - HTML5
P. 102
Url
5
<input type="url" name="Homepage">
This is used for input fields that should contain a URL address.
Depending on browser support, the url field can be automatically validated when submitted.
Some smartphones recognize the url type, and adds ".com" to the keyboard to match url input.
Date
5
<input type="date" />
A date picker will pop up on screen for you to choose a date. This is not supported in Firefox or
Internet Explorer.
DateTime-Local
5
<input type="datetime-local" />
Dependent on browser support, a date and time picker will pop up on screen for you to choose a
date and time.
Image
<input type="image" src="img.png" alt="image_name" height="50px" width="50px"/>
An Image. You must use the src attribute to define the source of the image and the alt attribute to
define alternative text. You can use the height and width attributes to define the size of the image
in pixels.
Range
5
<input type="range" min="" max="" step="" />
A control for entering a number whose exact value is not important.
https://riptutorial.com/ 86

