Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: <> in display(html)  (Read 5633 times)

0 Members and 1 Guest are viewing this topic.

Tan_Za

    Topic Starter


    Intermediate
  • Starcraft and C programming
    • Experience: Experienced
    • OS: Windows 7
    <> in display(html)
    « on: January 06, 2009, 10:45:06 PM »
    I want to make a paragraph right, well that is simple just '<p>put something here</p>
    but my problem is that I want few certain symbols. Below is what I want to do.

    <p>access connect:

    <jdbc-connection-pool-params>     <--

     <name>JDBC Data Source-0</name

      <jdbc-driver-params>
    </p>

    where the arrows are is what I want the web site to display the <> stuff(not the <p> or the
    ).

    In batch there is a way to hide operational symbols by putting a '^' infront of the symbol is there a similar way to do that in html?

    any thing welcome,
    Tan_Za

    kpac

    • Web moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: <> in display(html)
    « Reply #1 on: January 07, 2009, 09:17:00 AM »
    You'll need to use HTML entities.

    < = &lt;
    > = &gt;

    See here: http://www.w3schools.com/tags/ref_ascii.asp

    Tan_Za

      Topic Starter


      Intermediate
    • Starcraft and C programming
      • Experience: Experienced
      • OS: Windows 7
      Re: <> in display(html)
      « Reply #2 on: January 07, 2009, 04:06:53 PM »
      thanks :-)

      Tan_Za