Jumat, 09 September 2011

Textarea type

There are 7 different text and can be used to place the HTML code. Please select one of your own.

1.Standard Textarea
Tampilan :


The code :
<textarea>
Please write anything here
i</textarea>


2. Textarea yang di atur kolom dan barisnya.
comparison


The code :<textarea cols="20" rows="5">
Please write anything here
</textarea>


3. Textarea Password.
comparison


The code :
<input type="password" value="This article will not appear" >


4. Textarea dashed line break
comparison


The code :
<textarea cols="20" rows="5" style="border: 2px dashed ;">
Please write anything here
</textarea>


5. Textarea Klik Auto Block.
comparison


The code :
<textarea rows="5" cols="25" onclick="this.focus(); this.select();">
Please write anything here
</textarea>




6.
textarea block the mouse
comparison








The code :
<div>
<form name="catatancuss">
<div align="center" style="margin-bottom: 0pt; margin-top: 0pt;">
<textarea ;="" cols="55" name="txt" onmouseover="this.form.txt.select()" readonly="readonly" rows="100" style="height: 50px; width: 300px;">write the text you want here</textarea></div>
</form>
</div>

7. Textarea Tombol Block.
comparison





The code :
<div><form name="copy"><div align="center"><input onclick="javascript:this.form.txt.focus();this.form.txt.select();" type="button" value="Select All"> </div><div align="center"></div><p align="center"><textarea style="WIDTH: 300px; HEIGHT: 144px" name="txt" rows="100" wrap="VIRTUAL" cols="55">
Please write anything here
</textarea></p></div></form>

0 komentar:

Posting Komentar