Use the
You can try running the following code to display the phonetic notation of the text −
<!DOCTYPE html> <html> <head> <title>HTML Rt Tag</title> </head> <body> <ruby> 漢 <rp>(</rp><rt>Kan</rt><rp>)</rp> 字 <rp>(</rp><rt>ji</rt><rp>)</rp> </ruby> </body> </html>
The above is the detailed content of How to display Ruby comments for text in HTML5?. For more information, please follow other related articles on the PHP Chinese website!
` tag in HTML for computer output formatting?Next article:How do I crop an IFrame in HTML?