Form Tags

Input Types


Input Attributes:

                    Attribute	    Description
                    type	        Type of input (text, email, checkbox, etc.)
                    id	            Unique identifier for JavaScript and CSS
                    name	        Name of the input (used in form submissions)
                    value	        Default value of the input
                    placeholder 	Temporary hint text inside the input
                    required	    Makes the field mandatory
                    disabled	    Disables the input (non-editable)
                    readonly	    Input is readable but not editable
                    checked	        For checkbox and radio, pre-checks the input
                    min / max	    For number, range, date, etc. — sets limits
                    step	        Step size for number, range, date, etc.
                    pattern	        Regex pattern for custom validation
                    maxlength	    Maximum number of characters
                    minlength	    Minimum number of characters
                    autofocus	    Automatically focuses on this input when page loads
                    autocomplete	Enables or disables browser autocomplete
                    multiple	    Allows multiple files (file) or multiple emails (email)
                    form	        Links input to a specific form (by form id)
                    accept	        For file input: restricts accepted file types
                    list	        Links input to a <⁠datalist⁠> for auto-suggestions
                
Login Form
Register Form

MERN Java Full Stack Python Full Stack

Morning Evening