Home  >  Article  >  Web Front-end  >  How to set what browsers that don't support ruby ​​elements will display?

How to set what browsers that don't support ruby ​​elements will display?

PHPz
PHPzforward
2023-08-26 11:09:141111browse

How to set what browsers that dont support ruby ​​elements will display?

HTML tag specifies display for browsers that do not support Ruby comments. Ruby annotations for East Asian typography.

Example

You can try running the following code to implement the tag in HTML -

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Rp 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 set what browsers that don't support ruby ​​elements will display?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete