I would like to display some text to the user when my div element is empty.
div
I have tried adding a placeholder attribute to my div but the t
Assuming what you really want to do is to have the user input some text and show him some placeholder in the input field, this is what you can use:
Of course you can wrap the input in a div.
You can see this in action here