HTML ruby tag | Sakala Code
Sakala Code 1 year ago
sakalacode #html

HTML ruby tag

HTML <ruby> tag is used to define annotations for East Asian typography. It's commonly used in languages such as Chinese and Japanese to provide pronunciation or additional information for characters. It is often used with the <rt> (ruby text) and <rp> (ruby parenthesis) tags to provide the annotation text and optional parentheses, respectively.

HTML ruby tag Syntax

<ruby>
  <rb>Main text</rb>
  <rt>Ruby text</rt>
</ruby>

HTML ruby tag Example

<!DOCTYPE html>
<html lang="en">
<head>
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <title>Ruby Tag with Example</title>
</head>
<body>
 <p>HTML Ruby Tag with example <ruby>Code<rt>Sakala</rt></ruby>.</p>
</body>
</html>
0
316
Php Oops Final Keyword Examples

Php Oops Final Keyword Examples

1709870648.png
Sakala Code
1 year ago
HTML Progress Tag

HTML Progress Tag

1709870648.png
Sakala Code
1 year ago
PHP Strings

PHP Strings

1709870648.png
Sakala Code
1 year ago
Php Error Control Operators Examples

Php Error Control Operators Examples

1709870648.png
Sakala Code
1 year ago
Php Oops Constructor

Php Oops Constructor

1709870648.png
Sakala Code
1 year ago