GuideML - CODE Tag
Created | Updated Apr 20, 2012
The <code> tags should be used to surround quotes from computer code (such as segments from programs).
Syntax and Usage
This is an HTML tag, so it can be upper or lower case, but we recommend lower case.
<code>...computer code...</code>
Simply put <code> and </code> tags round the computer code you want to be displayed as code.
Note that if your computer code contains special GuideML characters, like < and > signs or the & character, then you need to 'escape' them to prevent them from being interpreted as GuideML tags. You can do this by using < instead of <, > instead of > and & instead of &. You can learn more in our entry on Special Character Codes.
Known Issues
None.
Example
Type IF a<b THEN END at the prompt.
<p>Type <code>IF a<b THEN END</code> at the prompt.</p>