# Text Inputs and Labels

A text input is a one-line box with a name for the data it sends, and a label tied to it by for and id tells everyone, screen readers included, what the box is for.

![Codey's cheat sheet for Text Inputs and Labels: A text input is a one-line box with a name for the data it sends, and a label tied to it by for and id tells everyone, screen readers included, what the box is for.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/6577dfaa2f074f8fa3b5511f985930d9.webp)

- Category: HTML
- Level: Apprentice
- Tags: &lt;input>, &lt;label>, for attribute, Form control name, html, placeholder, Text input, web-development
- Updated: October 31, 2026

Source: https://www.ask-codey.com/cheat-sheets/html-forms-text-inputs-and-labels-cheat-sheet
