<b>: The HTML Bring Attention To Element

1 Description

The HTML <b> element is used to designate the enclosed text as worthy of extra attention. Most web browsers render text which is enclosed in the <b> element as bold.

The <b> element should only be used when no other element is appropriate.

See Also

The elements below may be used to categorize or draw attention to the enclosed text.

The <em> element.

The <h1> element.

The <h2> element.

The <h3> element.

The <h4> element.

The <h5> element.

The <h6> element.

The <i> element.

The <mark> element.

The <strong> element.

2 Examples

<!DOCTYPE html>
<html>
    <head>
        <title>Example Page</title>
    </head>
    <body>
        <h1>HTML Description</h1>
        <p>
            Hypertext Markup Language which is often abbreviated as HTML
            is a <b>markup language</b>. <b>Markup languages</b> are
            typically used to encode information or data, but they differ
            significantly from <b>programming languages</b> which are
            languages suitable for controlling computers and directing how
            programs should execute on a physical or virtual central
            processing unit (CPU).
        </p>
    </body>
</html>

This document was last updated: