Placeholder component brings functionality similar to HTML5 placeholder together with a backward compatibility for non-compliant browsers and together with additional features:

- per-component styling (`styleClass` attribute)
- application to multiple components (`selector` attribute)

Placeholder component works with any JSF component which renders input or textarea as well as with non-JSF text inputs (using `selector` attribute).

Bellow you can see sample of `<rich:placeholder />` attached to standard inputs.