What are the difference between input and text area? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What are the difference between input and text area?

difference between input and textarea?

16th Dec 2019, 10:21 AM
torobche
torobche - avatar
11 Answers
+ 3
از input برای مقادیر مشخص مثل رمز ورود و نام کاربری استفاده میکنن ولی برای مقادیر کوتاه تر هستش ولی از textarea برای مقادیر طولانی تر با فرم نامشخص تر استفاده میشه. به این شکل هم میشه گفت که برای input قانون ورودی وجود داره که مثلاً شما چک کنی که یک مقدار حتما ایمیل باشه یا مقدار پسورد از هشت رقم بیشتر باشه و.... ولی توی textarea اگه بخوایید یدونه آدرس دریافت کنید معمولا نیست یه آدرس چقدر طولانی باشه یا زندگی نامه یک نفر چقدر طولانی باشه.
22nd Dec 2019, 9:36 PM
babi Eshghi
babi Eshghi - avatar
+ 2
Text input is meant for single line text entry. Textarea on the other hand allows multiline text entry
16th Dec 2019, 11:01 AM
Ipang
+ 2
Textarea is larger than the input
17th Dec 2019, 11:07 PM
Rilwanu Sulaiman
Rilwanu Sulaiman - avatar
+ 1
Do they have difference in resizing size of col when entring multi text ? Ipang Mirielle🐶 [Inactive]
16th Dec 2019, 11:04 AM
torobche
torobche - avatar
+ 1
Sorry Minapt , But I didn't get what you mean by "resizing size of col" here.
16th Dec 2019, 11:06 AM
Ipang
+ 1
Ipang You can create a cell for family name with fixed size ,or you can create it with out of any size so it can be change based on length of family name.
16th Dec 2019, 6:13 PM
torobche
torobche - avatar
0
For example: enter a "username" uses input tell us your "true life story" uses textarea Mirielle🐶 [Inactive] but we can use input and tell about life story
16th Dec 2019, 6:15 PM
torobche
torobche - avatar
0
Minapt Are you referring to HTML table cells here? because as I understand it, neither text input nor textarea uses cells. Can you elaborate more on what it is you're trying to do? It would be great if you can share it as a code for review.
16th Dec 2019, 6:44 PM
Ipang
0
Salut koma tu va.
17th Dec 2019, 6:56 AM
Arouna Traore
Arouna Traore - avatar
0
Hi
17th Dec 2019, 2:46 PM
وارث وارث پردیس
وارث وارث پردیس - avatar
0
Input welcomes only single line and textarea allows for multiple
17th Dec 2019, 10:53 PM
Patrick Ibeh
Patrick Ibeh - avatar