answersLogoWhite

0

Assuming that one meant "text area", another word for text area is text box or text area box or text field.There is no other possible way to describe this particular feature.

User Avatar

Wiki User

11y ago

What else can I help you with?

Continue Learning about Engineering

Input type for textarea in HTML?

The tag to create a textarea in HTML is: <textarea></textarea> This tag should have an ID, so it can be identified when the form is submitted, and default text can be added inside the tag. <textarea id="ourText">This text is the default</textarea>


What is the correct HTML for text area?

<textarea> Default content if you want it. </textarea> This tag should only appear inside of a <form> element.


Can you create div in textarea in HTML?

No you can't. While you can put div tags inside textarea tags, as anything in the textarea is treated only as text, the browser will ignore the div tags and they will show as text only and so have no impact. So if you do want sections for text, you would have to look at other ways of doing it, like having several text areas with different formatting.


How do you create a scrolling text box using HTML while including variables such as appearance.?

Use a textarea instead of a textbox <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title></title> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="author" content="fer"> <style> .txtareaclss {background-color:black; color:green;font-size:20px; font-family:Tahoma;} </style> </head> <body> <form name="myform" method="" action=""> <textarea class="txtareaclss" name="mytxtarea" cols="50" rows="10"> </textarea> </form> </body> </html>


Php code to insert value from textbox into dropdownlist?

Once you submit a form you can use the $_POST[] array to grab the data from a form with PHP. You can then use this data to insert it into a form. Here is an example: <?php if($_POST['submit']){ $text_box_contents = $_POST['comments']; echo ' <select> <option>'.$text_box_contents .'</option> </select>'; }else{ echo ' <form method="post" action="$_SERVER['self']"> <textarea name="comments" cols="40" rows="5"> hostmysite.com Enter your comments here... </textarea><br> <input type="submit" value="Submit" /> </form>'; } ?>

Related Questions

How do you put a layout code in a scroll box?

Do <textarea></textarea>


Input type for textarea in HTML?

The tag to create a textarea in HTML is: <textarea></textarea> This tag should have an ID, so it can be identified when the form is submitted, and default text can be added inside the tag. <textarea id="ourText">This text is the default</textarea>


How to display contents of txt file on webpage using javascript?

Insert this code into HTML <textarea name="textfield" cols="30" rows="30">YOUR txt file </textarea>


How do you retrieve data stored in the database into the textarea using ASP?

To retrieve data stored in a database and display it in a textarea using ASP, you can use a server-side script to query the database and fetch the data. Then, you can populate the value of the textarea with the retrieved data by echoing it within the textarea tag during the rendering of the page.


What is the correct HTML for text area?

<textarea> Default content if you want it. </textarea> This tag should only appear inside of a <form> element.


I created a HTML form I linked it to a php file. I saved the users textarea info in a MySQL db and posts it to a thankyou page. How do I save the users info so other users can view their textarea?

What I would do is make another form where the users search for another user. This form would then look up and echo the searched user's information. Here's an example: <?php #If user looks up user if(isset($_POST['search'])) { #Connect to db mysql_connect('127.0.0.1', 'username', 'password'); mysql_select_db('database'); #Make search string 'safe' $id = mysql_real_escape_string($_POST['id']); #Get info $query = mysql_query("SELECT info FROM table_name WHERE id = '{$id}' LIMIT 1"); $row = mysql_fetch_array($query); #Echo it echo "<textarea>{$row['info']}</textarea>"; } ?> <form method="post" action="your_file_name_here"> User's ID: <input type="text" name="id"> <input type="submit" name="search" value="Search"> </form>


What does shift enter do in Internet Explorer?

Creates a new line in textarea..


Can you create div in textarea in HTML?

No you can't. While you can put div tags inside textarea tags, as anything in the textarea is treated only as text, the browser will ignore the div tags and they will show as text only and so have no impact. So if you do want sections for text, you would have to look at other ways of doing it, like having several text areas with different formatting.


How do you retrieve data stored in the database into the textarea using PHP?

<?php // Connect to the database $link = mysql_connect('localhost', 'mysql_user', 'mysql_password') or die('Could not connect: ' . mysql_error()); mysql_select_db('foo', $link) or die('Can\'t use foo : ' . mysql_error()); // Retrieve the content $sql = "SELECT my_info FROM my_table WHERE id = '42'; $result = mysql_query($sql,$link); // Now assign a value $row = mysql_fetch_assoc($result); // "Wrap" the result in a textarea echo '<textarea name="bob" rows="10" cols="40">'; echo $row["my_info"]; echo '</textarea>'; ?> ... this will work for a single value retrieved from a single row. For a more in depth look at retrieving values from a DB visit: http://au2.php.net/manual/en/function.mysql-query.php For a complete textarea reference, visit: http://www.w3schools.com/tags/tag_textarea.asp Hope that helps


How do you put graphics on neopets in a graphics box so other people can use them?

In order to let people use graphics, you may add a textarea so they can easily copy and paste the source. Use this in coding: <textarea><img src="YOURIMAGEHERE"></textarea> When you submit the code, a nifty box will appear underneath the graphic allowing other people to copy and paste at will.


How do you put layout codes on a website for people to copy and use?

You could always store them in a textarea. That way you could store multiple codes on the same webpage. The codes could also be edited within the textarea and they are easily copied from.


What did Robert Louis stevenson do for entertantment?

<textarea class="new_title_text">What did Robert Louis Stevenson do for entertainment?</textarea> <div class="edit_question_buttons"> <a class="close_edit_question" href="javascript:void(0);">Cancel</a> <button class="edit_question_submit" asg-button="">Save</button> </div>