How to brake input tag placeholder text


#1

I want to brake the placeholder text .
For example consider this below text.
"Action Sheets slide up from the bottom edge of the device screen, and display a set of options with the ability to confirm or cancel an action. Action Sheets can "

I want to show this complete text as placeholder in input tag.

I have used tag . its creating a weird box and i have resize the box if i have to view the placeHolder.

Any help will be appreciated


#2

Sorry @AnirudhaNalapur, I tested and it is not possible.

I’ve confirmed what the W3C says for HTML5, that:

The placeholder attribute represents a short hint (a word or short phrase) intended to aid the user with data entry. A hint could be a sample value or a brief description of the expected format. The attribute, if specified, must have a value that contains no U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR) characters.

And the recommendation is to use title for long strings.

For a longer hint or other advisory text, the title attribute is more appropriate.