Take Control of Your Forms with HTML5

Written by manezeu | Published 2020/01/27
Tech Story Tags: programming | html | learning-html | forms | web-development | frontend | beginners | latest-tech-stories

TLDR HTML5 form validators are those attributes you never care about: minLength, maxLength, required, pattern… Some attributes like ‘type’ for the input, help you to force the user to stick at a data format. The ‘pattern’ attribute is an attribute that helps you to impose the data format or even the characters that the user must enter in an input. It works with email, text, tel and even password inputs. And if you are a CSS lover, you can use pseudo-classes like ': required' to style your form fields according to the situation.via the TL;DR App

no story

Written by manezeu | Full stack developer student at Microverse Web and Mobile app developer
Published by HackerNoon on 2020/01/27