Thursday, April 15, 2010

How To Create an HTML Text Box Code?

I have encountered a lot of websites and blogsites and I got curious about the boxes placed together with their contents. For me, a site looks more professional if the content contains .

I am talking about the basic text box code below.



You can also use the "" code below if you don't want other people to copy the contents you made.



In the Edit Post Page (Compose) in Blogger, you can the box by just clicking and stretching it out and you can drag or move it, too.

And if you want something like a for your website, see the example code below.

<form method="post" action="">
<textarea name="comments" cols="40" rows="5">
Leave your comments here...
</textarea>>
<input type="submit" value="Submit" />
</form>

And this is in the your website.





There are various ways to your text box. So, if you want to learn how to add borders, and how to change its color, visit Quackit.

No comments: