ignore html tags

Discussion in 'HTML & Website Design' started by david_sakh, Sep 20, 2004.

  1. #1
    I need to post an affiliation code but html keeps executing the code. Are there tags to make HTML executors ignore a block of text?

    ~thx
     
    david_sakh, Sep 20, 2004 IP
  2. ResaleBroker

    ResaleBroker Active Member

    Messages:
    1,665
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    90
    #2
    Would "Comment" <!----> work?
     
    ResaleBroker, Sep 20, 2004 IP
  3. mopacfan

    mopacfan Peon

    Messages:
    3,273
    Likes Received:
    164
    Best Answers:
    0
    Trophy Points:
    0
    #3
    in here? try
     bla bla bla 
    Code (markup):
     
    mopacfan, Sep 20, 2004 IP
  4. david_sakh

    david_sakh Peon

    Messages:
    1,225
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #4
    no, comments are for the programmers only - i think

    and mopacfan what's the code? I cant see it if it's already formatted, and I'm talking HTML code, not forum pseudo-code.....
     
    david_sakh, Sep 20, 2004 IP
  5. mopacfan

    mopacfan Peon

    Messages:
    3,273
    Likes Received:
    164
    Best Answers:
    0
    Trophy Points:
    0
    #5
    {code} bla bla bla {/code}

    Replace the {} with []. This will put your code in a box and not loose the html coding.
     
    mopacfan, Sep 20, 2004 IP
  6. david_sakh

    david_sakh Peon

    Messages:
    1,225
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thank you very much!

    This has been bugging me for over 24 hours. :D
     
    david_sakh, Sep 20, 2004 IP
  7. ResaleBroker

    ResaleBroker Active Member

    Messages:
    1,665
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    90
    #7
    Sorry about that. It didn't occur to me that you were talking about in this forum.
     
    ResaleBroker, Sep 20, 2004 IP
  8. david_sakh

    david_sakh Peon

    Messages:
    1,225
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Sorry about that. It didn't occur to me that you were talking about in this forum.


    ACK! no im talking about html.

    sorry. NOT in this forum. NOT in pseudo-code. HTML code.

    I thought [] were special tags in HTML, but I should have known better...
     
    david_sakh, Sep 20, 2004 IP
  9. ResaleBroker

    ResaleBroker Active Member

    Messages:
    1,665
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    90
    #9
    Have you tried to comment out "<!----> " the link? This is for HTML.
     
    ResaleBroker, Sep 20, 2004 IP
  10. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #10
    in your html, change all the less than signs < to &lt; and all the greater than signs > to &gt;
    If you want to display one of these html codes like &gt; replace the & with &amp;
     
    exam, Sep 20, 2004 IP
  11. david_sakh

    david_sakh Peon

    Messages:
    1,225
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #11
    thanks, but the code isnt working. Am I doing something wrong?

    
    &lt a href="http://www.exclusivefreegames.com" alt="banner" &gt
    &lt img src="http://www.exclusivefreegames.com/efg_affiliate_banner_small.jpg" width="88" height="33" border="0" &gt 
    &lt /a &gt
    
    Code (markup):
     
    david_sakh, Sep 21, 2004 IP
  12. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #12
    you forgot the semicolon that follows these html entities
    &lt;a href="http://www.exclusivefreegames.com" alt="banner"&gt;
    &lt;img src="http://www.exclusivefreegames.com/efg_affiliate_banner_small.jpg" width="88" height="33" border="0"&gt; 
    &lt;/a&gt;
    Code (markup):
     
    exam, Sep 21, 2004 IP
  13. david_sakh

    david_sakh Peon

    Messages:
    1,225
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #13
    thanks - this works perfectly now!
     
    david_sakh, Sep 21, 2004 IP
  14. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #14
    anytime :)
     
    exam, Sep 21, 2004 IP
  15. tycoonjo

    tycoonjo Banned

    Messages:
    125
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    just testing
     
    tycoonjo, Jun 13, 2006 IP
  16. sccodes

    sccodes Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Interesting.
     
    sccodes, Jan 5, 2010 IP
  17. mrpaisa

    mrpaisa Guest

    Messages:
    741
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Example
    <ignore>
    leave this line alone
    </ignore>
    This tag is great for producing documentation.
     
    mrpaisa, Jan 6, 2010 IP