Creating a Text Area

Iklan Billboard 970x250

Free Download Blogger Template High CTR AdSense

Creating a Text Area

What's that text area? . To facilitate you to understand what that text area , please divert your attention to the right column of the screen, under the heading Want tuker link, there is a box that contains the text codes HTMLThat's what the call the text area . Well by looking at examples , then we can say that the text area is the area or place to store the text or writings by forming a new area . Usually this text area used to store codes HTML or other text to be copied by the visitors .

To make text area, Please you copy the code below:

<p align="center"> <textarea name="code" rows="6" cols="20"> Write the text or code you want here , then your posts will appear later in the text area < / textarea > < / p > 

Description: rows = " 6 " , shows the height of the text area , so if you want the text area to high then please replace the number " 6 had a higher number 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.

Highlight Text Area using

There are other variations of these make text area , namely text area using button highlights. with the key highlights This will make it easier for visitors to copy the whole text or the codes given , because with just a single tap it on the button highlights earlier , then the entire text or code in it will be in the highlights and live in the copy only . The facility is very useful when text or codes in the given role in very large quantity and this will reduce the risk tertinggalnya a text or code to be copied . To create a text area using highlights please your copy of this code HTML below:


<form <div> 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 write will appear here and ready to be copied by the visitors< / textarea > </p> </div> </form>  

For example :


In order to better understand your code above, I will describe a little . The above code has two parts elements , namely elements of the code to create a button that reads Highlight All, and the second is the element code to make text area .

key element All highlights :

1. <div align="center"> - > words center shows that the position would be in the middle of the button , so if you want to position the switch is on the edge of the left , staying replace it with words left. And if you want to be on the edge of the right, staying replace it with words right.

2. <input onclick="javascript:this.form.txt.focus();this.form.txt.selec()"> - > This code means that when the highlight button is clicked , then the entire text is in it will be in highligt ( the mark or in block ) , so you do not alter this paper.

3. Value ="Highlight All" - > words Highlight All is a word which will appear in the button, so if you want to change this text please replace with the word you want.

Element text area :
1. <div align="center"> - > This shows that the text area will be in the middle , well if you want your text area located at the left edge , replace the word center with words left, whenever you want at the right edge , replace it with words right.
2. <text style="WIDTH: 300px"> - >the word " WIDTH : 300px " width of the text shows that area as much as 300 pixels , so if you want to shorten or extend the width of text area , you just replace them with numbers you want. eg : " WIDTH : 700px ;"

3. HEIGHT : 144px - > number " 144px "shows that the text area will have a height of 144 px , so if you want to change it instead of living it by the number you want. Example: HEIGHT : 160px .

Sample text area using button highlights above , contains the skript to protect from right click the visitors . This skript in life if you do not want your writing on the copy and paste by visitors . for interested please copy and put in your HTML code between the code <head>
and good luck .
Baca Juga
SHARE
Heber
Sebagai seorang blogger yang selalu ingin belajar dan belajar tentang blog, template dan coding yang memerlukan konsistensi kesabaran dalam trial & Error.

Related Posts

Subscribe to get free updates

1 comment

Post a Comment