DITA Resource Center

<choptionhd>

The <choptionhd> element provides a specific label for the list of options from which a user chooses in order to accomplish a step. The default label for the list of options could be a localized translation of Option.

Content models

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

Inheritance

- topic/stentry task/choptionhd

Example

<step><cmd>Then this</cmd>
 <choicetable>
  <chhead>
   <choptionhd>Do something</choptionhd>
   <chdeschd>And this happens</chdeschd>
  </chhead>
  <chrow><choption>Do this</choption>
     <chdesc>and this will happen</chdesc></chrow>
  <chrow><choption>Do that</choption>
     <chdesc>and that will happen</chdesc></chrow>
 </choicetable>
</step>

Attributes

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

Was this page helpful?