Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / HTML

strong — strong importance, seriousness, or urgency

The strong element marks content of strong importance, seriousness, or urgency. It conveys semantic meaning rather than visual highlighting alone.

Version: WHATWG HTML Living Standard; index snapshot date recorded separately

Syntax

<strong>...</strong>

strong represents strong importance, seriousness, or urgency for its contents. Use it, for example, in a warning or to identify the part of a message that should be read first. It changes the importance of text, but not the meaning of the sentence.

The element is allowed wherever phrasing content is expected and itself accepts phrasing content: text and suitable inline elements. Both tags are required. It supports global attributes and uses the HTMLElement interface. Nesting another strong increases the relative importance of the enclosed content.

Do not confuse strong with em, which conveys stress emphasis, or with b, which draws attention without adding importance. Choose strong because of the content's meaning, not merely its intended appearance.

Examples

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Important notice</title>
</head>
<body>
  <p><strong>Warning:</strong> This action <strong>permanently deletes your files.</strong></p>
</body>
</html>

Result

Warning: This action permanently deletes your files.

The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.

Sources