Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to post html tags in code examples if HTML is ON for the topic.

 
Hal Watson
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I post snippets of code which include HTML tags when I see that "HTML is ON" for my topic? My code snippet was interpreted literally rather than just displaying for others to see.
I tried enclosing my code with CODE tags as advised in the FAQ but it didn't solve my problem, just formatted my code nicely between two grey bars.
 
Marilyn de Queiroz
Sheriff
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can put a space between the < and the tag (like < html>)
or
You can use < for < and > for >
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Heh. The second option is a toughie - the system keeps reinterpreting things for you.
I believe what Marilyn wanted to write, before UBB changed it, was: use &lt; for <, and &gt; for >.
 
Marilyn de Queiroz
Sheriff
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep. That's what I wrote.
 
Hal Watson
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, that is helpful. Maybe I can also use the < PLAINTEXT> < /PLAINTEXT> tags ? I just thought of that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic