HTML XHTML The Complete Reference
home » reference » appendix a » html element reference

<strong> (Strong Emphasis))


This element indicates strongly emphasized text. It usually is rendered in a bold typeface, but its rendering is not guaranteed, as it is a logical element.

Syntax (Transitional Only)



<strong
class="class name(s)"
dir="ltr | rtl"
id="unique alphanumeric string"
lang="language code"
style="style information"
title="advisory text">
</strong>

Attributes Defined by Internet Explorer


accesskey="key" (5.5)
contenteditable="false | true | inherit" (5.5)
disabled="false | true" (5.5)
hidefocus="true | false" (5.5)
language="javascript | jscript | vbs | vbscript" (4)
tabindex="number" (5.5)
unselectable="on | off" (5.5)

Standard Event Attributes


onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup

Events Defined by Internet Explorer


onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate, onbeforeeditfocus, onbeforepaste, onblur, oncontextmenu, oncontrolselect, oncopy, oncut, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, onfocus, onfocusin, onfocusout, onhelp, onlosecapture, onmouseenter, onmouseleave, onmousewheel, onmove, onmoveend, onmovestart, onpaste, onpropertychange, onreadystatechange, onresize, onresizeend, onresizestart, onselectstart, ontimeerror

Example


It is really <strong>important</strong> to pay attention.

<strong style="font-family: impact; font-size: 28pt">Important Info</strong>

Compatibility


HTML 2, 3.2, 4, 4.01; XHTML 1.0, 1.1, Basic
Internet Explorer 2, 3, 4, 5, 5.5, 6
Netscape 1, 2, 3, 4, 4.5-4.8, 6, 7
Opera 4-7

Notes


  • This element generally renders as bold text. As a logical element, however, strong is useful to bind style rules to.

  • As compared to b, this element does have meaning. For example, voice browsers may speak <strong> enclosed text in a different voice than text that is enclosed by <b>.
(X)HTML Elements
CSS Properties
Previous: strike Next: style
< Home | About | Chapters | Examples | Errata | Reference | Site Map >