요약
HTML <ruby> 요소는 루비 주석을 나타냅니다. 루비 주석은 동아시아 문자들의 발음을 표기하기 위해 보여집니다.
- 컨텐트 카테고리 Flow 컨텐트, phrasing 컨텐트, palpable 컨텐트.
- 허용된 컨텐트 Phrasing 컨텐트.
- 태그 생략 None, both the starting and ending tag are mandatory.
- 허용된 부모 요소들 산문을 참조하세요
- DOM 인터페이스
HTMLElement
속성
이 요소는 전역 속성만을 포함할 수 있습니다.
예제
예제 1: 문자
<ruby> 漢 <rp>(</rp><rt>Kan</rt><rp>)</rp> 字 <rp>(</rp><rt>ji</rt><rp>)</rp> </ruby>
예제 2: 단어
<ruby> 明日 <rp>(</rp><rt>Ashita</rt><rp>)</rp> </ruby>
명세
| 명세 | 상태 | 주석 |
|---|---|---|
| WHATWG HTML Living Standard The definition of '<ruby>' in that specification. |
Living Standard | |
| HTML5 The definition of '<ruby>' in that specification. |
Recommendation |
브라우저 호환성
| 특징 | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| 기본 지원 | 5.0 | 38 (38) | 5.0 | Not supported | 5.0 |
| 특징 | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|
| 기본 지원 | (Yes) | (Yes) | 38.0 (38) | (Yes) | (Yes) | (Yes) |