Saturday, March 21, 2009

Add Text Box or Text Area in Blogger

So many wonder how to put text box using java script.Its so simple.It is also useful for bloggers who show html script for copying.

How?2 ways of text boxes.

Go to Template->Page Elements->Add a Page Element and select "HTML/JavaScript"

1]Users can input text - Copy Below code

<textarea rows="5" cols="40">
YOUR TEXT HERE
</textarea>

For Example,See below text area,You can edit whatever you want.



2]Read only Textbox - Copy Below code

If the text box contains terms and conditions or information, we can insert a attribute into the textarea code. Readers can view the text but they cannot edit or amend it, or insert any input into the box.

<textarea rows="2" cols="30" name="Famous Quotes" readonly="readonly">
Your Text Here
</textarea>

For Example: See below.You cannot edit.Its not changable.




You can also add links in the text box,simply add your link code instead of "YOUR TEXT HERE"
Also Change rows and columns as you require.

Thanks 4 Visiting.Do Subscribe If u like our posts.

0 comments:

Post a Comment