How do I display an html code in a scroll box for people to copy and paste?

November 8th, 2009 | by admin |

I tried searching and trying but cant figure it out. I want to put a html code in my scroll box that displays the actual code of a banner for other people to copy and paste into their own sites. How is this done?

http://allmyfaqs.net/faq.pl?Show_HTML_examples explains how to show html examples.

http://www.domedia.org/oveklykken/css-div-scroll.php explains how to create a scrolling region

Technorati Tags: , , , , , , , , ,

Tags: Banner, Copy And Paste, Displays, Div Scroll, html code, Html Examples, Html Scroll, People, php, Pl

4 Responses to “How do I display an html code in a scroll box for people to copy and paste?”

  1. By Thomas H on Nov 8, 2009

    Use the <code> tag.
    References :

  2. By David D on Nov 8, 2009

    http://allmyfaqs.net/faq.pl?Show_HTML_examples explains how to show HTML examples.

    http://www.domedia.org/oveklykken/css-div-scroll.php explains how to create a scrolling region
    References :

  3. By Justin E on Nov 8, 2009

    :D Your talking about a textarea!

    <textarea name="codes" cols="20" rows="5" readonly="readonly">
    put code here :]
    </textarea>
    References :

  4. By Huy T on Nov 8, 2009

    Try this code you see in Youtube:
    <input id="embed_code" name="embed_code" type="text" value="enter embed code here"
    onClick="javascript:document.
    embedForm.embed_code.focus
    ();document.embedForm.embed_c
    ode.sele
    ct();"
    readonly />
    References :

Post a Comment