Solved

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

Posted on 2012-03-13
2
298 Views
Last Modified: 2012-03-13
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" />
0
Comment
Question by:1030071002
2 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 37717309
0
 
LVL 2

Accepted Solution

by:
musickmann earned 250 total points
ID: 37717323
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.
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question