Reputation: 231
I am creating a textarea which has a placeholder that shows what kind of information should be in the textarea. The only problem is, I need to use several special characters. The first is the line break, which I figured out can be created using this:

			
However, I am still unsure of how to create a tab character within a placeholder. Is this possible? If so, what can I do to generate a tab character within a placeholder?
Upvotes: 0
Views: 1351
Reputation: 2789
This is Horizontal Tab according to this:
	
<textarea name="textarea" rows="10" cols="50" placeholder='test	test2'></textarea></textarea>
Update: I have just tested it under FF 31 and Chrome 36 and it works good.
http://webdesign.about.com/od/localization/l/blhtmlcodes-punc.htm
Upvotes: 1