There are times when creating a form where a field needs its content in a certain state. This can be something as simple as a date field where the field needs to look like DD/MM/YYYY.
By default HTML doesn't have the ability to make these custom masks for