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 Time

The <input type=”time”> permits users to choose a time without specifying a time zone.

Depending on the browser’s support, a time picker may appear within the input field.

Example

<form>
  <label for=”appt”>Select a time:</label>
  <input type=”time” id=”appt” name=”appt”>
</form>

Input Type Url

The <input type=”url”> is employed for input fields intended to hold URL addresses.

Depending on browser support, the URL field may undergo automatic validation upon submission.

Certain smartphones recognize the URL type and augment the keyboard with “.com” to facilitate URL input.

Example

<form>
  <label for=”homepage”>Add your homepage:</label>
  <input type=”url” id=”homepage” name=”homepage”>
</form>

Input Type Week

The <input type=”week”> enables users to select a week and year.

Depending on browser compatibility, a date picker may appear within the input field.

Example

<form>
  <label for=”week”>Select a week:</label>
  <input type=”week” id=”week” name=”week”>
</form>

 

Click to Learn