ruby-text-decoration-01.html (845B)
1 <!DOCTYPE html> 2 <html lang="ja"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>CSS Test: text-decoration on rubies</title> 6 <link rel="author" title="Xidorn Quan" href="http://www.upsuper.org/"> 7 <link rel="help" href="http://www.w3.org/TR/css-text-decor-3/#line-decoration"> 8 <link rel="match" href="reference/ruby-text-decoration-01-ref.html"> 9 </head> 10 <style type="text/css"> 11 ruby { display: ruby; } 12 rb { display: ruby-base; white-space: nowrap; } 13 rt { display: ruby-text; white-space: nowrap; } 14 p { line-height: 3em; } 15 p { 16 text-decoration: underline; 17 } 18 </style> 19 <body> 20 <p> 21 <ruby><rb>慶</rb><rt>けい</rt 22 ><rb>應</rb><rt>おう</rt 23 ><rb>義</rb><rt>ぎ</rt 24 ><rb>塾</rb><rt>じゅく</rt 25 ><rb>大</rb><rt>だい</rt 26 ><rb>学</rb><rt>がく</rt></ruby> 27 </p> 28 </body> 29 </html>