pre

Support

Indicates that the enclosed text is preformatted.

The pre element allows authors to insert a preformatted text into the document. This element is often used with the code element to display computer code.

Example

<pre>
<code>
-(IBAction) sampleCode: (id)sender {
World *myWorld = [[World alloc] init];
[myWorld setName:@"Earth"];
}
</code>
</pre>

Preview

    
	-(IBAction) sampleCode: (id)sender {
		World *myWorld = [[World alloc] init];
		[myWorld setName:@"Earth"];
	}