Hello, this is my question: I know there is an attribute for input
and text-area
with which the number of characters is manipulated as maxlenght
, my question is if this can be done with span
, div
or any other label. My idea is to have something like:
<span maxlength="9">David Perez</span>
But on the screen ONLY shows:
David Per
If the solution is JQuery , JavaScript or CSS it does not matter I appreciate any help.