Scroll Box HTML Code

Print This Post Print This Post Email This Post Email This Post

A lot of people want to know how to make scroll box to display an html or css code on your page. For example, a lot of people use this for their support code. NOTE: my scroll boxes here have a background and a border, which you can add within your CSS stylesheet. Your boxes will look a little different. I will teach you how to format your scrollboxes/textareas with CSS in the next tutorial!

The html tag for it is called <textarea>

This code below:

Will result into this:

Now this tag starts scrolling automatically when you have a lot for content.

and will look like this:

You can also determine how large or small you want to box to be by adding the column and row span.

Which will look like this:

Or you use this one:

Which will look like this:

I hope you enjoyed this little tutorial!

Related Posts Plugin for WordPress, Blogger...

Speak Your Mind