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
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Calculating percentage 2 48
Telerik RadEditor Control Save 8 39
title attribute 5 33
Displaying Text in Columns in HTML 3 32
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

734 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