To create a text area, please copy the code below:
<p align="center"><textarea name="code" rows="6" cols="20"> Write the text or code you want here, then your writing will appear in the text area </textarea></p>
For example:
Description: rows = "6", shows the height of the text area, so if you want a high text area then please replace the number "6 had a higher rate value.
Cols = "20", shows the width of the text area. If you want a wide text area then please replace the number "20" had a higher number value.
Text Area using Highlight
There are other variations of these make text area, the text area by using the highlight. with the highlight button should make it easier for visitors to copy the whole text or the codes given, because the only press it once to highlight this key, then the entire text or code in it will be the highlights and live in copy alone. This facility is very useful when the text or code in dalan provide a vast number and this will reduce the risk of a text or tertinggalnya codes for the copy. To create a text area using this highlights please copy the HTML code below:
<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">save your writing here, then the text you entered will appear here and ready in the copy by the visitors</textarea></p></div></form>
For example:
So you better understand the code above, I will describe a little. The above code has two parts elements, namely elements of the code to create a button marked Highlight All, and the second is the code elements to create a text area.
All highlight key elements:
0 comments:
Post a Comment