There is no way to limit characters through HTML.
You may be able to do so with a javascript, but I am uncertain as to how to actually do so without a whole bunch of operations. There is no direct "size" property to deal with, plus you'd have to do some string operations every time the character count exceeded the specified size.