Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Html Tag For A Code Box


7 replies to this topic

#1 wariorpk

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 661 posts

Posted 22 August 2005 - 12:07 AM

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.

#2 palladin

    Member [Level 3]

  • Kontributors
  • PipPipPipPipPipPip
  • 92 posts

Posted 22 August 2005 - 07:09 AM

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 :)

#3 wariorpk

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 661 posts

Posted 22 August 2005 - 10:31 AM

That is exactly what I mean thanks so much. This problem is solved.

#4 snlildude87

    Moderator

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,325 posts
  • Location:Mawson, Antarctica

Posted 22 August 2005 - 07:39 PM

Question answered -> thread closed.

#5 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 18 July 2008 - 01:31 AM

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

#6 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 19 February 2009 - 09:29 PM

html code boxesHtml Tag For A Code Box

This is EXACTLY what I was looking for. Thank you VERY much. 

-reply by TtLG Admin

#7 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 23 October 2009 - 08:24 PM

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

#8 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 16 January 2010 - 12:12 AM

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>

 







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users