• Hi,

    i want to insert in a post a code HTML, but i want to show it as text not to be interpetate as code HTML of the page.

    What i shall do ?

    Thans

Viewing 15 replies - 1 through 15 (of 25 total)
  • How about placing it between <pre> and </pre> tags?

    Thread Starter piero06

    (@piero06)

    No, i want to show a code html, for example

    <input type=”text”>

    It shouldn’t be see as HTML from the browser…

    why not use the code tag and backticks?
    I think I’m confused. You want the person viewing the site to see the code, or you want the page to interpret the code, and the browser to output something?

    Thread Starter piero06

    (@piero06)

    I want that the page doesn’t interpert the code !

    edit
    ugh code quicktag doesn’t work like that when posting through wordpress like it does in the forum.

    You need to encode the < as & lt; and > as & gt; (remove the space between the & sign and the letters)

    How nifty is that. quite the site you got there podz, guess I need to poke around it some more.

    Heh – noo…that simplecode is not mine at all. It’s only there because I kept losing the url for the orginals or they dropped offline.
    I would LOVE for that to be made into a plugin though.

    How is it that it works here on the bb with the backticks?

    Because bbPress is a different product for a different purpose.

    It’s really getting old with members treating others like they don’t have common sense.
    My question wasn’t “why does it work here and not WP”, for which your reply could have worked.
    I really grasp the difference between the two “products”. But since the conversation was moving towards the “plugin”, I was inquiring as to whether podz, or someone else, knew how the feature was implemented on this board.

    Ah …. you mean why can’t someone take the way that the backtick is used here and transfer it ?
    No idea … would seem to be easy enough to do. (But then I don’t code !)

    Just a little bit more information that might help someone, it helps if you put the code between <code> tags.

    I have a related question to this one but somewhat opposite. I would like to enable the use of the <q> tag in the comments but I don’t know where to go to “enable” this option. Any help would be appreciated.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Disable HTML code’ is closed to new replies.