Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Logical Tags

<CODE>

Usage Recommendation
thumbs up Use it.

<CODE> indicates text that is the code for a program. <CODE> is rendered in a fixed width font.

this code produces this
This code opens the data file:
<P>
<CODE>
# open the listing file<BR>
unless ( open(MYDATA, "data.txt") )<BR>
{die "couldn't open data file\n"}
</CODE>
This code opens the data file:

# open the listing file
unless ( open(MYDATA, "data.txt") )
{die "couldn't open data file\n"}

For lengthy code examples, most authors prefer <PRE ...>, which is much better for showing spacing and indentation.

<KBD> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com