HTML and CSS Reference
In-Depth Information
Internet Explorer 5+
<ruby> (Ruby Annotation)
This initially Microsoft-specific element, now part of HTML5, is used with the rt element to
create annotations or pronunciation guides for words and phrases. The base text should be
enclosed in a <ruby> tag; the annotation, enclosed in an <rt> tag, will appear as smaller
text above the base text. The rp element can be used to wrap content to delimit ruby text
for browsers that do not support this formatting.
HTML5 Standard Syntax
accesskey="spaced list of accelerator key(s)"
class="class name(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
dir="ltr | rtl"
draggable="true | false | auto"
id="unique alphanumeric identifier"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemtype="microdata type in URL format"
lang="language code"
spellcheck="true | false"
style="style information"
title="advisory text">
... base text ...
<rt>ruby text</rt>
Syntax Defined by Microsoft
accesskey="key" (5)
class="class name(s)" (5)
contenteditable="false | true | inherit" (5.5)
dir="ltr | rtl" (5)
disabled="false | true" (5.5)
hidefocus="true | false" (5.5)
id="unique alphanumeric identifier" (5)
lang="language code" (5)
language="javascript | jscript | vbs | vbscript" (5)
name="string" (5)
style="style information" (5)
Search WWH ::

Custom Search