Friday, February 1, 2013

How To Give Your Button A Text Box

Below is the code for the image as well as the text box. Please note after you copy and paste this code into your HTML document, you have to re-enter the "textarea" tag (</textarea>).

Tip: to keep your text from being altered enter readonly="readonly" tag before the greater than or code closure (>) before you enter whatever text you're boxing, everything should work out fine.

This is what it would look like:

The text box, isn't as fancy as the ones you see above. It's simple and easy until you feel comfortable with html and want to try something more complex. So with this text box you will be able to adjust the box to your liking, even center it or even align it to the right—even put it in a block quote.


Post a Comment

What do you think?

Chrome Pointer