?
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
Medium Priority
?
302 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 84

Assisted Solution

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

Accepted Solution

by:
musickmann earned 1000 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

765 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