0% found this document useful (0 votes)
14 views2 pages

Input Type

The document describes different HTML5 input types including color, number, url, image, date, email, month, range, datetime-local, time, week, search, file, and telephone number.

Uploaded by

PokeSparker X
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views2 pages

Input Type

The document describes different HTML5 input types including color, number, url, image, date, email, month, range, datetime-local, time, week, search, file, and telephone number.

Uploaded by

PokeSparker X
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

INPUT TYPE

CODE:
<!DOCTYPE html>
<html>
<head>
<title>HTML5 Input Type</title>
</head>

<body>
<form>
<label>Select Color: </label> <input type="color"><br><br>
<label>Number: </label> <input type="number" min="0" max="100" step="10"><br><br>
<label>URL: </label> <input type="url"><br><br>
<label>Image: </label><input type="image" src="IMAGE_PATH"><br><br>
<label>Date: </label> <input type="date"><br><br>
<label>Email: </label> <input type="email"><br><br>
<label>Month: </label> <input type="month"><br><br>
<label>Range: </label> <input type="range" min="0" max="100" step="10"><br><br>
<label>DateTime: </label> <input type="datetime-local"><br><br>
<label>Time: </label> <input type="time"><br><br>
<label>Week: </label> <input type="week"><br><br>
<label>Search: </label> <input type="search"><br><br>
<label>Upload File: </label>
<input type="file" accept="video/*"><br><br>
<label>Phone No.: </label> <input type="tel"><br><br>

</form>
</body>
</html>
OUTPUT:

You might also like