-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtextarea.html
More file actions
97 lines (93 loc) · 2.35 KB
/
textarea.html
File metadata and controls
97 lines (93 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> textarea tag tutorial</title>
</head>
<body>
<!-- textarea- the <textarea> tag defines
a multi-line textarea control.it use to write
description and comment.q -->
<form action="abc.php" method="post" >
<textarea></textarea>
<br/>
<input type="submit" value="submit"/>
</form>
<br>
<form action="abc.php" method="post" >
<!-- rows is visible no. of line.
cols is visible of width.-->
<textarea rows="5" cols="30" > </textarea>
<br/>
<input type="submit" value="submit"/>
</form>
<br>
<form action="abc.php" method="post" >
<!-- maxlength is a length/limitation of alphbet and
numeric value. -->
<textarea maxlength="20" > </textarea>
<br/>
<input type="submit" value="submit"/>
</form>
<br/>
<form action="abc.php" method="post" >
<!-- placeholder is hint to the
user to write the description and comment.-->
<textarea placeholder="comment here" > </textarea>
<br/>
<input type="submit" value="submit"/>
</form>
<br>
<form action="abc.php" method="post" >
<!-- you can focus user to this box can
use autofocus. -->
<textarea autofocus="autofocus" ></textarea>
<br/>
<input type="submit" value="submit"/>
</form>
<br>
<form action="abc.php" method="post" >
<!-- you can hide description box then
use disabled -->
<textarea disabled="disabled" ></textarea>
<br/>
<input type="submit" value="submit" disabled="disabled" />
</form>
<br>
<form action="abc.php" method="post" >
<!-- readonly it use you can read only
not edit text -->
<textarea readonly="readonly" >hello i am vk </textarea>
<br/>
<input type="submit" value="submit"/>
</form>
<br>
<form action="abc.php" method="post" >
<!-- required it use to user write any think
ant get away -->
<textarea required="required" ></textarea>
<br/>
<input type="submit" value="submit"/>
</form>
<br>
<!-- you can use form id and form in textatea
it apply more form-->
<form action="abc.php" method="post" id="form1">
<input type="submit" value="submit"/>
</form>
<textarea form="form1" ></textarea>
<br>
<form action="abc.php" method="post" >
<!-- u can use textarea in any other tag then use
textarea name -->
<textarea name="textarea" ></textarea>
<br/>
<input type="submit" value="submit"/>
</form>
<form action="/action_page.php">
Text:<br>
<textarea name="explanation"dirname="explanation.dir"></textarea>
<input type="submit" value="Submit">
</form>
</body>
</html>