We help IT Professionals succeed at work.

I am kinda new on HTML which of the following Tag are right and I have been searching the internet but cant find a solid answer

1030071002
1030071002 asked
on
I am kinda new on HTML which of the following Tag are right and I have been searching the internet but cant find a solid answer

<textarea rows="8" cols="20"> Your comments...</textarea>

<textarea rows="8" col="20">Your comments...</textarea>

<textarea rowcount="8" colcount="20">Your comments...</textarea>

<input type="text" maxlenght="100" />
Comment
Watch Question

Dave BaldwinFixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014
Commented:
Data Analyst
Commented:
You want to use
<textarea rows="8" cols="20"> Your comments...</textarea>
if you are using it in a form and want a multiline text input area.

You will use
<input type="text" ... />
When you want a single line input area.

And you can use the maxlength parameter to limit the text in either field, but be aware that there are some browser incompatabilities with it.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.