HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

HTML step Attribute

HTML step Attribute

 

 

The step attribute is used to specify the legal number intervals for an input element. We can use it with the input range element after specifying its min and max attributes.

 

The step attribute is used on the following input elements:-

 

  • < input type="number" >
  • < input type="range" >
  • < input type="date" >
  • < input type="datetime" >
  • < input type="month" >
  • < input type="time" >
  • < input type="week" >
  • < input type="datetime-local" >

 

Used With:-

 

Element Attribute
input step

 

Syntax:-

 

Its syntax is:- <element step="value" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML