References

Collection of references for web development.

HTML placeholder attribute

Description

Specifies a hint that describes the expected value.

Values

Value
string

Example

<form>
	<input type="text" name="username" placeholder="Your Name">
</form>