HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress
HTML Reference

Quick Reference

The textarea tag defines a multi-line text input element often used in a form. These are the attributes used in a textarea tag.

AttributeValueDescription
autofocusautofocusSpecifies that the text area should automatically get focus when the page loads
colsnumberSpecifies the visible width of the text area
dirnametextareaname.dirSpecifies that the text direction of the text area will be submitted
disableddisabledSpecifies that the text area should be disabled
formform_idSpecifies which form the text area belongs to
maxlengthnumberSpecifies the maximum number of characters allowed in the text area
nametextSpecifies a name for the text area
placeholdertextSpecifies a short hint that describes the expected value of the text area
readonlyreadonlySpecifies that a text area should be read only
requiredrequiredSpecifies that the text area is required and must be filled out
rowsnumberSpecifies the visible number of lines in a text area
wraphard
soft
Specifies how the text in a text area is to be wrapped when submitted in a form

We’d like to acknowledge that we learned a great deal of our coding from W3Schools and TutorialsPoint, borrowing heavily from their teaching process and excellent code examples. We highly recommend both sites to deepen your experience, and further your coding journey. We’re just hitting the basics here at 1SMARTchicken.

HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress

Why 1SMARTchicken?

This site was built and is maintained to benefit my autistic son.
See More →

My Son's Name is Johnny

He was diagnosed as autistic quite late, at age four...
His story

Buy Me a Coffee

Thanks for your support!

Feedback

If you see an error on the page or the code itself is incorrect or incomplete, or just plain wrong, please let us know. We’re always learning. NOTE: we do not sell your information and will not send you spam emails.