I'd like to embed an HTML box in a blog (LiveJournal) entry of mine.

An example of the sort of HTML box I'm talking about is here: http://puuchan.livejournal.com/1082.html?mode=reply

I'd like to have a box that I can place a code in so that others can copy and paste it. (Like the one that that says "copy & paste the following code:".

Is this possible? (And for the record, is it even called an HTML box? Or a text box? Or something totally different?)

Thanks.

Recommended Answers

All 2 Replies

It's called a textarea.

<textarea rows='5' cols='42'>
Put whatever you'd like to be inside the textarea here</textarea>

To make the box wider, increase the cols value. To make it taller, increase the rows value.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.