VibeHubYour Vibe Coding Guide
TermsPracticeAI SlopUpdatesSkill
⌕
Oil
›Label

Label

You might say

Put a clear label in front of every field so people know what to enter.

Visible text that tells people what a form control asks for·An Email label on a sign-in form should stay visible and focus its matching input when clicked. Put required, format, and error information nearby instead of relying on placeholder text.
Used for review notificationsEnter a complete email address
Label≠Tag

Label explains what a control needs. Tag marks a content category, status, or filter.

Label≠Form

Label describes one control. Form organizes and submits a set of fields.

When to use it

  • Every input people fill in
    you@example.com
  • Required or format rules
    you@example.com
  • A clear name for complex controls
    you@example.com

When NOT to use it

  • A placeholder used as the only label
    you@example.com
  • A vague name such as Information or Content
    you@example.com
  • A full help paragraph inside the label
    you@example.com
Anatomy
*Used to sign in
States what the person should provide
Mark only fields that are actually required
Clicking the label should focus this control
Adds format, purpose, or privacy guidance
Variants
Top
On small screens or for long field names
Left
In a compact desktop filter area
Help text
At least 8 characters
When format or purpose needs explanation
Typical use cases
Sign-up form
Profile settings
Shipping address
Further reading
<label> HTML label elementMDN ↗
oil
01oil 欧呦oiloil.org02GitHub@oil-oil03Xx.com/I_am_oil_oil04REDXiaohongshuoil on Xiaohongshu05Emailzhihuang.oiloil@gmail.comTerm suggestionsSubmit a suggestion
Quick checkChoose the best answer

A registration form only uses Enter a value as placeholder text, so users cannot tell email from username after typing. What should change?

You can say this to an AI Agent

“

Add persistent visible labels for username, email, and password and associate each one with its input. Use placeholders only for examples, keep errors and format requirements nearby, and verify that clicking each label focuses the correct field.

Want GPT or Codex?VibeHub/GPT support

GPT-6 Astra

Build in 3D. Put your computer to work.

Account support.We can help.

Advice · Community