kzh125 Posted July 30, 2017 Share Posted July 30, 2017 https://www.w3schools.com/tags/tag_rp.asp <ruby> 漢 <rt><rp>(</rp>ㄏㄢˋ<rp>)</rp></rt> </ruby> should be <ruby>漢 <rp>(</rp><rt>ㄏㄢˋ</rt><rp>)</rp></ruby> Link to comment Share on other sites More sharing options...
Ingolme Posted July 30, 2017 Share Posted July 30, 2017 Both of those usages look valid to me. Is there any particular reason why the parentheses shouldn't be inside the ruby text? Link to comment Share on other sites More sharing options...
kzh125 Posted July 30, 2017 Author Share Posted July 30, 2017 (edited) From w3schools: a small extra text Quote A ruby annotation is a small extra text, attached to the main text WHATWG HTML Living Standard and Edited July 31, 2017 by kzh125 Link to comment Share on other sites More sharing options...
kzh125 Posted July 30, 2017 Author Share Posted July 30, 2017 (edited) The rp element should be a child of ruby element, not a child of rt element Edited July 31, 2017 by kzh125 Link to comment Share on other sites More sharing options...
Ingolme Posted July 31, 2017 Share Posted July 31, 2017 So the W3Schools site does have a mistake. The staff of the website is almost never on the forums, so your best chance to provide feedback is to visit the page that has the problem and scroll down and click on the "Report Error" button at the bottom of the page. Link to comment Share on other sites More sharing options...
kzh125 Posted July 31, 2017 Author Share Posted July 31, 2017 OK Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now