HTML and CSS Reference
In-Depth Information
Examples
<p> This line contains a spelling <strike> misstake </strike> mistake </p> .
<p> Price: $ <strike style="color: red;"> 5.00 </strike> 3.00 </p>
Compatibility
HTML 3.2, 4, 4.01 (transitional)
XHTML 1.0 (transitional)
Firefox 1+, Internet Explorer 2+,
Netscape 3+, Opera 4+, Safari 1+
Notes
• This tag should act the same as the <s> tag.
• This element has been deprecated by the W3C. The strict HTML and XHTML
specifications include neither the <strike> tag nor the <s> tag because it is possible
to indicate strikethrough text using the style sheet property text-decoration:
line-through . The HTML5 specification also indicates this element as obsolete.
<strong> (Strong Emphasis)
This inline element indicates strongly emphasized text. It usually is rendered in a bold
typeface, but its rendering is not guaranteed because it is a logical element.
Syntax
<strong
class="class name(s)"
dir="ltr | rtl"
id="unique alphanumeric string"
lang="language code"
style="style information"
title="advisory text">
</strong>
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
draggable="true | false | auto"
hidden="hidden"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemscope="itemscope"
itemtype="microdata type in URL format"
tabindex="number"
spellcheck="true | false"
Search WWH ::




Custom Search