/    Sign up×
Community /Pin to ProfileBookmark

Question about the <Input> tag

hi folks, i want to ask a question about the input tag.

I want to increase the size of the input tag, so it can allow the user to add multiple lines (can press enter) in the field, but I am not sure weather is possible to implement such function using the <input> tag or how to implement it.

If is possible, can anyone show me an example.

If not possible, how do you go to achieve such function and use what kind of tags? I would use the <textarea> tag but it dose not support value = “”. So can any1 please help me?

Thanks in advance.

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@scragarJan 03.2009 — Use <textarea> instead. It's value goes in it's contents:
&lt;textarea&gt;Default contents&lt;/textarea&gt;
Copy linkTweet thisAlerts:
@Major_PayneJan 04.2009 — Not possible for input tag. "size="X"" is about all you're going to get.
×

Success!

Help @zen10 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...