Curriculum
Course: HTML Basic
Login

Curriculum

HTML Basic

HTML Introduction

0/1

HTML Editors

0/1

HTML Attributes

0/1

HTML Paragraphs

0/1

HTML Formatting

0/1

HTML Comments

0/1

HTML Favicon

0/1

HTML Page Title

0/1

HTML Iframes

0/1

HTML Java Script

0/1

HTML File Paths

0/1

HTML Symbols

0/1
Text lesson

Input Type Color

The <input type="color"> element is utilized for fields intended to capture color selections. Depending on browser capabilities, a color picker may appear within the input field.

Example

<form>
  <label for=”birthday”>Birthday:</label>
  <input type=”date” id=”birthday” name=”birthday”>
</form>

You can employ the min and max attributes to impose limitations on dates as well.

Example

<form>
  <label for=”datemax”>Enter a date before 1980-01-01:</label>
  <input type=”date” id=”datemax” name=”datemax” max=”1979-12-31″><br><br>
  <label for=”datemin”>Enter a date after 2000-01-01:</label>
  <input type=”date” id=”datemin” name=”datemin” min=”2000-01-02″>
</form>