What is text area? It is an area or place to save the text or writing with a new area. Text area is usually used to save HTML code or the other texts so that the can be copied by the visitors.
In order to make a text are, you can copy the following code.
for example;
Remarks;
Rows ="6", shows the height of the text area. If you want to have a high text area, you just change “6” with higher number.
Cols="20", shows the width of text area. If you want to have a wider text area, just change “20” with the other higher number.
Text Area with Highlight
There is another variation to make a text area, that is by using highlight button. With this highlight button, it will ease visitors to copy the whole text or codes given. If we click highlight button, it will automatically be highlighted and finally, just copy the highlighted codes or texts.
This facility is very useful, especially when the text or codes are a lot. To make text area with highlight, please copy the HTML below .
I will explain a little about the code about to make you understand. The codes above have two elements, they are code elements which are used to make the button of Highlight All, and the second one is code elements which are used to make text area.
Button element of highlight All :
- --> the word left shows that the button position will be in the left. If you want to make the position in the middle or right, just change “left” with center or right.
- --> this codes mean that when the highlight button is clicked, then all the text inside will be highlighted. So, don’t change that word or code
- Value="Highlight All" --> the word Highlight All is the word that will appear in the button. You can change this word with your own words.
Text area Element:
--> it shows that text area will be in the left. If you want to put the text area in the middle or right, just change “left” with center or right.
–> the word "WIDTH: 300px" shows the width of text area, that is 300 pixel. If you want to shorten or lengthen it, just change “WIDTH: 300px" pixel with, example : “WIDTH: 700px" - HEIGHT: 144px --> the number "144px" shows that the height of text area will be 144 px and if you want to change it, just change that number with your own number, example HEIGHT:160px.
Good Luck!!!
Post a Comment