HTML5 textarea placeholder not appearing

I encountered a weird issue while working on a form. I added a textarea and its placeholder attribute but the place holder attribute was not showing. Here is my initial code.

I google it and found this stackoverflow link and gave me the solution.

Solution:

We need to have textarea opening and closing tag in same line and no white space inside it. So here is an example:

This is simple yet weird issue for me ๐Ÿ˜…