Thread: Simple but yet....ARG!!

  1. #1
    Hash Monster
    Guest

    Angry Simple but yet....ARG!!

    Im trying to make some HTML tutorials on my site, and i need to know how to write scripts but not for them to work...like:

    <B>Bold</B> and not have the <B> and </B> not to actually make the text bold! please help me

  2. #2
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669
    Did you tried this "<B>Bold </B>" ?
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    I think...from memory (might be wrong) but you can put < in a html doc with "& l t" and > with "& g t" .....as in Greater Than and Less Than.....

    If I'm right....... "& l t" "& g t" will give "<" ">"....

    .....try it....I cant test it right now

    <edit> LOL...it seems to work as when I posted it it turned them to < and >....just remove the spaces</edit>
    Last edited by Fordy; 12-12-2001 at 02:26 PM.

  4. #4
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    there are the <code> and </code>
    tags but i dont know if they operate on html code
    could you not nest them?

    <b><b><b></b></b></b>
    Monday - what a way to spend a seventh of your life

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. creating very simple text editor using c
    By if13121 in forum C Programming
    Replies: 9
    Last Post: 10-19-2010, 05:26 PM
  2. Simple message encryption
    By Vicious in forum C++ Programming
    Replies: 10
    Last Post: 11-07-2004, 11:48 PM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  4. Simple simple program
    By Ryback in forum C++ Programming
    Replies: 10
    Last Post: 09-09-2004, 05:48 AM
  5. Need help with simple DAQ program
    By canada-paul in forum C++ Programming
    Replies: 12
    Last Post: 03-15-2002, 08:52 AM