Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Html Code Help!?

How can I get the code to SHOW up.

the actual code with all the <>// and stuff.

5 Answers

Relevance
  • Anonymous
    1 decade ago
    Favorite Answer

    Try enclosing the code in between the following tags:

    <textarea>

    </textarea>

    This will work as long as your code does not include the above tags...

    For codes that do include the TEXTAREA tag, another option is to use the code for the < and >:

    They are:

    <

    or

    >

    Respectively...

    Hope this helps...

  • Anonymous
    1 decade ago

    Preformatted Text (PRE tag) will help to some extent, but some tags and characters may still be interpreted. Different browsers (e.g. Firefox or IE) may interpret some tags differently from others.

    Two other ways of getting accurate display:

    o Print to PDF (e.g. use PDFCreator, _very_ useful shareware)

    o Load text into an editor such as Notepad++ (also fine shareware, which also "pretty prints" HTML), take a screen shot and put that in the HTML page.

    The first has the virtue of being quotable, the second is an accurate display of the formatting you desire.

  • Anonymous
    1 decade ago

    If you are saying you want to display html code in your pages utilize blockquotes.

    <blockquote>

    <b>Bold</b>

    </blockquote>

    The above example will produce:

    <b>Bold</b>

    If you remove the blockquotes then you will get:

    Bold (only in bold font)

    More info here:

    http://www.cs.tut.fi/~jkorpela/html/bq.html

  • Anonymous
    1 decade ago

    You write <!-- at the beginning and > at the end...

  • How do you think about the answers? You can sign in to vote the answer.
  • Anonymous
    1 decade ago

    k well this is what you do..

    http<///"SITE HERE"///>

Still have questions? Get your answers by asking now.