Bold text

Bold text is text that is used to draw a reader's attention to a phrase without otherwise adding meaning to the content.

Syntax

XDITA

<b>

HDITA

<b>

MDITA (core and extended profiles)

There is no specific support in the MDITA core profile. If needed, use an HDITA snippet.

Rendering expectations

The bold component is typically rendered in a bold font.

Attributes

The available attributes vary based on the authoring format:

XDITA and HDITA
The following attributes are available on this element: localization attributes, universal attributes, and @keyref.
MDITA
For the MDITA core profile, the equivalent of the XDITA @keyref attribute is supported. For the MDITA extended profile, attributes can be specified by using the HDITA representation.

Examples

Figure 1. XDITA example

The following example demonstrates the use of bold text in an XDITA topic.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD LIGHTWEIGHT DITA Topic//EN" "lw-topic.dtd">
<topic id="franchise-intro">
  <title>An innovative, attractive, and out of the ordinary concept</title>
  <body>
    <p>We offer more than 30 exclusive creations of original rolls, from sushi with <b>BBQ chicken</b> to <b>grilled steak</b>.</p>
  </body>
</topic>
Figure 2. HDITA example

The following example demonstrates the use of bold text in an HDITA topic.

<!DOCTYPE html>
<title>An innovative, attractive, and out of the ordinary concept</title>
<body>
  <article id="franchise-intro">
    <h1>An innovative, attractive, and out of the ordinary concept</h1>
    <p>We offer more than 30 exclusive creations of original rolls, from sushi with <b>BBQ chicken</b> to <b>grilled steak</b>.</p>
  </article>
</body>