HTML rt Tag - HTML Tutorial

HTML rt Tag

BLUF: Mastering HTML rt Tag is a fundamental step in becoming a web developer. This guide covers the structure, syntax, and best practices for using this HTML element effectively.
Key Lesson: HTML rt Tag

Web structure starts with solid HTML. Learn how HTML rt Tag contributes to accessible and semantic web pages in the tutorial below.

HTML <rt> tag offers details related to translation, pronunciation, or transliteration for the east Asian characters found within ruby language annotations.

The <rt> tag must be enclosed within <ruby> and <rp> (optional) element.

The <rt> tag is new in HTML5.

Syntax

Example

<rt>........ </rt>

Here are some details regarding the HTML <rt> element:

Display Inline
Start tag/End tag Both Start and End tag
Usage Formatting

Example

Example

<!DOCTYPE html>

<html>

<head>

	<title>HTML rt tag</title>

	<style>

	body{

		text-align: center;

	}

		rt{ font-size: 10px;

			color: green;

		}

	</style>

</head>

<body>

<h1>Example of rt tag</h1>

<ruby>

	 大哥<rt>Big Brother</rt>

</ruby>

</body>

</html>

Output:

Attribute:

Tag-specific attributes:

The <rt> tag does not have any particular attribute associated with it.

Global attribute:

The <rt> tag facilitates the implementation of global attributes within HTML.

Event attribute:

The <rt> tag facilitates the incorporation of event attributes within HTML.

Supporting Browsers

Element Chrome IE Firefox Opera Safari
<rt> Yes Yes Yes Yes Yes

Input Required

This code uses input(). Please provide values below:

Logic Practice
Install Logic Practice
Add to home screen for a faster app-like experience