<codeph>

A code phrase is a small portion of source code, machine code, or text that is displayed in-line.

The content of the <codeph> element is typically rendered in a monospaced font.

The <codeph> element is specialized from <ph>. It is defined in the programming domain module.

The following attributes are available on this element: universal attributes and @keyref.

Example

In the following code sample, the <codeph> element identifies a code snippet. The code snippet will be rendered in-line in the paragraph.

<p>The second line of the sample program code, <codeph>Do forever</codeph>, 
represents the start of a loop construct.</p>