Discussions

I am trying to add HTML code to one page on my website that people can copy and paste into their HTML.

How do I get the actual code to show, rather than having the HTML code render normally?

Hope that makes sense. I have no idea what the correct terminology is.

Reply

User Comments

  1. fajrigraf
    u can see may blog.
    see all tools html code @ their website
  2. nhc1987
    Hi kristilinauer,

    The only thing you need is to convert all < character to & l t ; characters (without spaces).

    Hope this help.

    -nhc1987
    themelib.com
    1. DaneMorgan
      That's the answer right there, except I would add that best practice is to also use &rt; in place of the > characters as well to avoid any confusion as to your intent later on.
  3. kristilinauer
    Thanks so much, everyone!
  4. weblogian
    I am using the < textarea> code for that.I think your search end here.
    weblogian.com/blog/?p=3
  5. weblogian
    If you are trying to let other link you and you want to display your link code this is it. This has image link
    < textarea name=" textarea " cols=" 50 " rows=" 5 " > < a href="http://weblogian.com/blog"> < img src=" weblogian.com/images/badgelogo.gif " width=" 80 " height=" 15 " border="0" / > < /a > < /textarea >

    REMOvE THE SPACE before< and after > and also after"

    Just change the image URL and your BLOG URL to yours
    Change the numbers cols="50" and rows="5" to fit in your page/sidebar
    1. kristilinauer
      Yes, that's exactly what I'm trying to do, and I just can't get it to work!

      Maybe it has something to do with the fact that I use Frontpage to build my website. (And all of the serious web developers erupt in uncontrollable laughter )
    2. weblogian
      Just paste the code in your page and see. If you follow correctly there nowhere to go wrong
    3. weblogian
      IF you don want a image link just a text link then do this.
      < textarea name=" textarea " cols=" 50 " rows=" 5 " > < a href="http://kristilinauer.com/"> kristilinauer < /a > < /textarea >
  6. weblogian
    kristilinauer
    Use Dreamweaver to design your website. From there you will get many more ideas about HTML. Dreamwaever taught me more than my teacher.
    You can down;oad the 1 month trial fro m here www.adobe.com/cfusion/tdrc/index.cfm?product=dreamweaver&promoid=BONQP
    1. kristilinauer
      weblogian, I certainly may consider that for the future.

      Right now, my main concern is simply getting quality content on my site. I have used Frontpage for years, and it's simple for me, so for now I'm using it.

      After I get a good amount of quality content on my site, I'm planning on turning my attention to really studying HTML, CSS, etc., and then come up with a really dynamic website design for a future "relaunch". At that time, I will definitely upgrade to a different website building program. That's not my priority right now, though.
    2. weblogian
      Are you done with the code? is it displaying in ur site. I like to see it.
  7. kristilinauer
    I have no idea what's going on. I copied, pasted, and edited the code that you (weblogian) gave me.

    When I uploaded it, a bunch of extraneous HTML code was added, and I have no idea why it was added. However, I copied and pasted the code onto my blog to see if it would work, and it does.

    NO idea why that's happening.

    www.addicted2decorating.com/blog-link-exchange.html

    All of the "onclick" code, and other code about "cgi-bin"...I didn't add that. It was added when I uploaded the page.
    1. weblogian
      Iam checking the code now whether it works(the links)

      Its working fine, You can insert boderless code.

      Wait!
  8. weblogian
    It works well

    you can put this code to remoce the image border
    border="0"
    < img src="http://kristilinauerinteriors.com/addicted-2-decorating-banner.jpg" border="0" >

    Donot forget to remove the spaces after and before < >
    1. kristilinauer
      I think I'll keep the border for now. I kinda like it.

      But thank you SO MUCH for your help!!!!
  9. weblogian
    Removed by Weblogian as it is resolved

Add Your Comment

Login to leave a message.