[1] [[HTML]] の [DFN[[CODE(HTMLe)@en[[[rp]]]] [[要素]]]]は、[[ルビ]]未対応の古い
[[Webブラウザー]]で表示させるための[[括弧]]などの[[代替内容]]を含める[[要素]]です。

* 代替

[4] [[仕様書]]では一応は[[廃止]]されていない現役の[[要素]]ですが、
実際には必要になることはありません。無意味なので省略するべきです。

* 歴史

[2] [CITE@en[Web Applications 1.0 r7611 Update rt/rp sections to match newer ruby section.]]
( ([TIME[2012-12-30 13:21:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=7610&to=7611>

[3] [CITE@en-US[Internationalization Tag Set (ITS) Version 1.0]]
( ([TIME[2007-04-03 09:11:18 +09:00]] 版))
<http://www.w3.org/TR/its/#selection-local>

[5] [CITE@en[Change <rp>'s content model to Text]]
([[zcorpan]]著, [TIME[2016-09-08 23:09:47 +09:00]])
<https://github.com/whatwg/html/commit/36fe930da319dd0fe5b28ea8b9b5916a5acbc775>

[6] [CITE@en[Remove special handling of <rp> in innerText's getter]]
([[zcorpan]]著, [TIME[2016-12-02 19:38:44 +09:00]])
<https://github.com/whatwg/html/commit/4af57554d5d2de59431e641cc01de663dd4a130c>

[7] [CITE@en[Editorial: use fullwidth parenthesis in Japanese <rp> example]]
([[zcorpan]]著, [TIME[2016-12-05 18:24:09 +09:00]])
<https://github.com/whatwg/html/commit/fe7b5077bbf2daee52a0ddf937bf73b85aa99546>

[8] [CITE@en[Change <rp>'s content model to Text]]
([[zcorpan]]著, [TIME[2016-09-08 23:09:47 +09:00]])
<https://github.com/whatwg/html/commit/36fe930da319dd0fe5b28ea8b9b5916a5acbc775>

[9] 初期の規定は厳しすぎて [CODE[<rp> (</rp>]] のように[[空白]]が含まれることも認めていませんでした。

[10] [CITE@ja[Another HTML-lint : Notice]]
([TIME[2024-08-17T14:51:16.000Z]])
<http://openlab.ring.gr.jp/k16/htmllint/notice.html#ie50>