"if you encounter any errors in SAP, send me a screenshot at pramod@learntosap.com, and I will help you resolve the issue."

-HTML Input Types Tag โ€“

HTML TUTORIALS-

-HTML Input Types Tag โ€“

Introduction-

๐Ÿ”นHTML provides a vast range of input types that you can use in forms to collect different types of users data. all These input types are defined using the type attribute in the <input> element. Hereโ€™s a categorized list of common HTML input types:

Trulli Trulli

๐Ÿ”ค Text Input Types:-

Emoji Examples in HTML

HTML Text Input Types

Type Description
text A single-line text input
password Obscured text, used for passwords
email Expects an email address
tel Expects a telephone number
url Expects a website URL
search Used for search fields

๐Ÿ”ข Number & Range Input Types:-

Emoji Examples in HTML

HTML Number & Range Input Types

Type Description
Number Allows only numeric values
Range A slider for selecting a value within a range

๐Ÿ“† Date & Time Input Types:-

Emoji Examples in HTML

HTML Date & Time Input Types

Type Description
date Date (YYYY-MM-DD)
datetime-local Date and time (local timezone)
month Month and year
week Week and year
time Time (hh:mm)

โœ… Choice Input Types:-

Emoji Examples in HTML

HTML Choice Input Types

Type Description
checkbox Multiple selections allowed
radio Only one selection from a group
submit Submits the form
reset Resets the form fields to default
button Generic button (no default behavior)

๐Ÿ“‚ File & Hidden Inputs:-

Emoji Examples in HTML

HTML File & Hidden Inputs

Type Description
file Allows file upload
hidden Hidden input, not visible to user but included on submit

๐Ÿ“ Special Input Types:-

Emoji Examples in HTML

HTML Special Input Types

Type Description
color Color picker input
image Image-based submit button

โœ…HTML Input Types Example:-

<form> 
  <label for="email">Email:</label>
  <input type="email" id="email" name="email">

  <label for="dob">Date of Birth:</label>
  <input type="date" id="dob" name="dob">

  <label for="favcolor">Favorite Color:</label>
  <input type="color" id="favcolor" name="favcolor">

  <input type="submit" value="Submit">
</form>


Live Code Preview


May Be Like Important Link-

-Chart Of Account-OB13

-Define Plant-OX1

-Chart Of Account-OB13

-Define Financial Statement