Jump to content
xisto Community
wariorpk

Html Tag For A Code Box Where You Put HTML Code For Your Users

Recommended Posts

Well I have seen it all over the web. Lots of sites have code boxes so you can promote them or they show you a code you can use for javascript and stuff like that. I would like to know the HTML code for those boxes. Thanks in advance for your help.

Share this post


Link to post
Share on other sites

You mean this ?

<textarea name="textarea" cols="40" rows="4" wrap="VIRTUAL">=====your code=====</textarea>

This is HTML code.


--------------------

Practice is when evrything work but no one know why.
Theory is when work nothing but evry one know why.
Programmers join Practice with Theory - nothing work and no one know why :)

Share this post


Link to post
Share on other sites

html code box

Html Tag For A Code Box

 

Hey, I'm in a band, and on our myspace we have a banner but have no idea of how to make the little scroll box thing to put a code in. We need this fast. Also feel free to check us out, myspace.Com/seekthesilence

 

Email me if you know how

 

Samuelr@optusnet.Com.Au

 

 

 

-question by Seek the silence

Share this post


Link to post
Share on other sites
Is it possible to protec the code in a blog code box?Html Tag For A Code Box
Is there a way to protect the code in the code box? For example, anyone can copy the code from the box, but it's not protected. So someone could accidentally type an extra letter and/or number, it would mess up the code. Make sense?

Any help or direction you have would be much appreciated.

Thanks in advance!

-question by Jane Says

Share this post


Link to post
Share on other sites
read onlyHtml Tag For A Code Box

Try adding the extra 'readonly' attribute as below:

 

<textarea name="textarea" cols="40" rows="4" wrap="VIRTUAL" readonly="readonly">=====your code=====</textarea>

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.