textarea provides multi-line text editing. name identifies the submitted value, required makes it mandatory, and maxlength sets a positive character limit.
Common mistake!
<form><textarea name="message"></textarea></form>
The control supports multiple lines but has no label, id, required state or valid message-length limit.
STEP 2 · APPLY
Your exercise
Complete the example. Create a required, labelled textarea with a character limit.
STEP 3 · BUILD
Write and see the result
index.htmlHTML
Safe resultisolated
The draft stays only in this browser.HTML and CSS allowed · scripts and network blocked
STEP 4 · CHECK
What needs to pass
0%not checked
○The textarea has id, name and required.
○Maxlength sets a positive limit.
○The textarea has a connected label.
Explain the solution logic+
Add the connected label, id and required, then set maxlength to a suitable positive number such as 500.
ANALYSIS REQUEST
Tell me briefly what you want to improve.
The initial discussion is without obligation. You receive an honest recommendation, suitable stages and the factors that affect price.
scheduleabout 2 minutestask_altno obligation
mark_email_readAfter sending, you receive an email confirmation and we continue through your chosen channel.
YOUR CONTROL
Cookie preferences
Necessary cookiesSave your preference and protect the form.
Anonymous analyticsHelps us understand which pages are useful, only after consent.