html textbox hint code example Example 1: hint text html <input placeholder="Name" ></input> Example 2: input text hint placeholder="123-45-678"