Working with Password Fields

Password fields are like text fields, only the text inside them appears dotted out, as in Figure 68.8. You typically use these kinds of fields to accept passwords, naturally, or any other kind of input that you would rather not display literally on screen.

Figure 68.8. Use password fields when you don't want to display the exact text of the field on screen.

FAQ

Can you use password fields for other kinds of input?

Certainly. You don't have to restrict password fields to passwords only. PINs, keycodes, ...

Get Web Design Garage now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.