HTML Practical 1
HTML Practical 1
3. Form Validation
Q3. Create a login form with:
Username (text input)
Password (password input, min-length 6)
Remember Me (checkbox)
Submit button
Ensure validation for empty fields using HTML attributes.
Expected Output: The form should not submit if fields are empty or the password is too short.