DEV Community

Charity Parks
Charity Parks

Posted on

HTML Form Controls

On a website, we need a way to get information from our user from time to time. A form for them to fill out is how we will get that information. See below the different 'form controls' that are available.

Text Input: This is simply a text box for a single line of text that the user will fill in.

Text Area: This is a larger text box that is used when the information will take up more space than just one line. So its for multiple lines of input.

Checkboxes: A user can select or unselect as many as apply to them.

Drop-down boxes: When you click on this, a series of options show up, but only one can be selected.

Radio buttons: The user must select one of the provided options.

Submit button: This button when clicked on will send the information provided by user and send it to another webpage.

Image button: This allows you to use an image.

So this is how we extract data/information from our user in a simple straight forward way. Happy Coding!

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay