How to write default text like thewire @username

Hello please i don't know how to explain. But i think the below makes some sense.

How can i add default text to show when someone wants to edit a field e.g @username as shown in thewire.