<b> tag to format bold text. It can be used in conjunction with other tags (italic, underline, etc.). The
<strong> tag is preferred for ADA compliance (Americans with Disabilities Act). Whereas both tags produce a bold word on the screen, the
<strong> tag also tells screen-reading software to emphasize the word.
The code requires an opening and a closing tag:
<b> – opening tag
</b> – closing tag
<strong> – opening tag
</strong> – closing tag
All text between the opening and closing tags will be bold. The tag has no other effect on non-text elements.
When viewing this example, you will <b>clearly</b> see how the BOLD and STRONG tags produce <strong>the same result</strong>.
When viewing this example, you will clearly see how the BOLD and STRONG tags produce the same result.