Text Area is a box containing the text. Usually for a script or information provided to be copied. Here is discussed how to make a brief text area.
To create a text area, you should use the following code. This code you type in the position of "edit HTML" in your city or a new post in your HTML widget.
<p align="center"><textarea name="code" rows="6" cols="20"> "Write your text or script here</textarea></p>
To make the entire contents of the text can be copied using the button "Highlight All", you have to replace the above code by using the following code:
<div><form name="copy"><div align="center"><input onclick="javascript:this.form.txt.focus();this.form.txt.select();" type="button" value="Highlight All"> </div><div align="center"></div><p align="center"><textarea style="WIDTH: 300px; HEIGHT: 144px" name="txt" rows="100" wrap="VIRTUAL" cols="55">Put your text or script here</textarea></p></div></form>
That's it! Try it!
Example text box:
Example of text box with "Highlight All" button:
For Bahasa Indonesia, visit this link:
Membuat Text Area by Masdoyok
No comments:
Post a Comment
Leave your comment here!