<apiname>

The <apiname> element provides the name of an application programming interface (API) such as a Java class name or method name. This element is part of the DITA programming domain, a special set of DITA elements designed to document programming tasks, concepts, and reference information.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/keyword pr-d/apiname

Example

<p>Use the <apiname>document.write</apiname> method to create text 
output in the dynamically constructed view.</p>

Attributes

The following attributes are available on this element: Universal attribute group, @outputclass, and @keyref.

Was this helpful?