Mark Hall's Webdevblog
Articles Listing

2025-02-03
Creating a Perfect HTML Form Field

On one side is your web server. On the other side are a bunch of human beings. What is the interface between those sides to gather information from these humans? HTML forms.

It's easy enough to create an HTML form and hook it up to a backend script to process the data, but from a usability standpoint, there are many things to consider to make your form fields as quick and easy to use as possible. Around half of your traffic is likely to be on mobile devices as well. Since filling out fields on phones is much slower than with a mouse and keyboard, these days it's more important than ever that your form fields are optimized.

Let's go from the simplest possible starting point...

Read more