Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Feb 2006
    Posts
    2
    Member #
    12598
    Hi. I am making a website for photoshop tutorials and web design tutorials and other things. one of the things i want to kno is how do i post code in "code" itself.


    Like say this is my document:
    HTML Code:
    <HTML>
    
    <HEAD>
    <TITLE>Cyan Productions</TITLE>
    
    <BODY>
    I am trying to show you how to do an h1 tag, but when I type it in here, it just shows up as the H1 itself. Like this <H1> will show up as H1 i want it to show up as <H1> like a code. you know what i mean? like www.htmlgoodies.com and how he shows example codes.
    
    </BODY>
    
    </HTML>
    how do i do this?

    Thanks

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    You can use html entities, such as..

    Quote Originally Posted by html entities
    &lt;p&gt;Hello, World&lt;/p&gt;
    &lt; is < and &gt; is > (less than, greater than).

    Entities: http://bfsog.co.uk/testing/ents.htm
    Entities lookup table: http://www.mountaindragon.com/html/iso.htm

    Hope this helps

  4. #3
    Junior Member
    Join Date
    Feb 2006
    Posts
    2
    Member #
    12598
    ohhh okay thanks so much that solved my problem!!!!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:25 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com