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
299 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

828 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