HTML & CSS Wiki
2rekt (talk | contribs)
No edit summary
No edit summary
 
Line 1: Line 1:
  +
{{DISPLAYTITLE:{{HTML tag|rt}}}}
{{Title|<nowiki><rt></nowiki>}}
 
 
{{TagInfobox
 
{{TagInfobox
 
| usage = <pre><ruby>
 
| usage = <pre><ruby>
Line 21: Line 21:
 
!Attribute !! Value !! Description
 
!Attribute !! Value !! Description
 
|-
 
|-
|<code>name</code> || ''[[alphanumeric string]]'' || This attribute assigns a symbolic name to the ruby text in order to use as a [[hyperlink]] destination or as an identification reference.
+
|<code>name</code> || ''[[alphanumeric string]]'' || This attribute assigns a symbolic name to the ruby text in order to use as a [[hyperlink]] destination or as an identification reference.
 
|}
 
|}
 
;Global Attributes
 
;Global Attributes

Latest revision as of 23:35, 23 December 2019


The HTML <rt></rt> element, or ruby text, was introduced in HTML5. It is used with the <ruby> element to provide information on the content of the <ruby> element.


Attributes

Attribute Value Description
name alphanumeric string This attribute assigns a symbolic name to the ruby text in order to use as a hyperlink destination or as an identification reference.
Global Attributes

See Global HTML Attributes and Standard HTML5 Attributes.


HTML example:

<ruby>
漢 <rt>ㄏㄢˋ</rt>
</ruby>


See Also

External Links