I have an HTML form as follow:
Username: Passwor
These are commonly called watermarks and require javascript.
Look at the jQuery-watermark plugin.