HTML form tag tutorial (5): text field tag

HTML form tag tutorial (5): text field tag name: the name of the text field rows: the number of rows in the text field cols: the number of columns in the text field value: the default value of the text field File example: 11-17.htm
Insert a text field into the page.
01 <!-- ------------------------------ -->
02 <!-- File example: 11-17.htm -->
03 <!-- File Description: Insert text field-->
04 <!-- ------------------------------ -->
05 <html>
06 <head>
07 <title>Insert text field</title>
08 </head>
09 <body>
10 <h1>User Survey</h1>
11 <Form action=mailto:[email protected] method=get name=invest>
12 Please leave a message:<br>
13 <textarea name="comment" rows=5 cols=40>
14 </textarea><br>
15 <input type="submit" name="submit" value="Submit form">
16 </Form>
17 </body>
18 </html> Line 13 of the file description defines the text field as having 5 rows and 40 columns.
<br />This tag is used to create a multi-line text field in which you can enter more text.
Basic syntax <textarea name="name" rows=value cols=value value="value"> </textarea>
The meanings of these attributes are shown in the following table
Text field tag attribute value describe

<<:  Front-end JavaScript Promise

>>:  Solve the problem of Nginx returning 404 after configuring proxy_pass

Recommend

Nginx/Httpd load balancing tomcat configuration tutorial

In the previous blog, we talked about using Nginx...

Vue interpretation of responsive principle source code analysis

Table of contents initialization initState() init...

How to implement scheduled backup of CentOS MySQL database

The following script is used for scheduled backup...

Linux kernel device driver advanced character device driver notes

/****************** * Advanced character device d...

How to hide and forge version number in Nginx

1. Use curl command to access by default: # curl ...

Use JS to zoom in and out when you put the mouse on the image

Use JS to zoom in and out when the mouse is on th...

JS cross-domain XML--with AS URLLoader

Recently, I received a requirement for function ex...

CSS Sticky Footer Several Implementations

What is "Sticky Footer" The so-called &...

W3C Tutorial (5): W3C XML Activities

XML is designed to describe, store, transmit and ...

The difference and reasons between the MySQL query conditions not in and in

Write a SQL first SELECT DISTINCT from_id FROM co...

Examples of common Nginx misconfigurations

Table of contents Missing root location Off-By-Sl...

Implementing long shadow of text in less in CSS3

This article mainly introduces how to implement l...

Detailed explanation of script debugging mechanism in bash

Run the script in debug mode You can run the enti...