HTML <textarea> रैप विशेषता
उदाहरण
रैप = "हार्ड" के साथ टेक्स्ट क्षेत्र में टेक्स्ट में फॉर्म में सबमिट किए जाने पर न्यूलाइन (यदि कोई हो) होगी:
<textarea rows="2" cols="20" wrap="hard">
At W3Schools you will find free Web-building tutorials.
</textarea>
परिभाषा और उपयोग
wrap
विशेषता निर्दिष्ट करती है कि किसी प्रपत्र में सबमिट किए जाने पर टेक्स्ट क्षेत्र में टेक्स्ट को किस प्रकार लपेटा जाना है ।
ब्राउज़र समर्थन
Attribute | |||||
---|---|---|---|---|---|
wrap | Yes | Yes | Yes | Yes | Yes |
वाक्य - विन्यास
<textarea wrap="soft|hard">
गुण मान
Value | Description |
---|---|
soft | The text in the textarea is not wrapped when submitted in a form. This is default |
hard | The text in the textarea is wrapped (contains newlines) when submitted in a form. When "hard" is used, the cols attribute must be specified |
एचटीएमएल <textarea> टैग