HTML5 introduced a few new attributes which can be used with textarea elements. A Bootstrap textarea demo with Bootstrap’s and a custom CSS class. Syntax: