TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

HTML rp tag

HTML rp tag with examples, html5, forms, input, text, anchor, image, heading, marquee, textarea, paragraph, title, quotes, code etc.

<< Back to HTML

HTML <rp> tag

HTML <rp> tag is used to provide fall back parenthesis for the content which is to be shown in the browser, if browser does not support display of ruby annotations.

The ruby annotations are used to display certain characters in several Asian languages, using <ruby> element.

The <rp> tag must enclose the <rt> element with parenthesis which contains the annotation's text.

The <rp> tag is new in HTML5.

Syntax

  <rp>.....</rp>

Following are some specifications about the HTML <rp> tag

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

Example

<!DOCTYPE html>
<html>
<head>
	<title>HTML rp tag</title>
	<style>
	body{
		text-align: center;
	}
		rt{ font-size: 18px;
			color: green;
		}
	</style>
</head>
<body>
<h1>Example of rp tag</h1>
<ruby>
	 漢<rp>(</rp><rt>Kan</rt><rp>)</rp>
	字 <rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby>
</body>
</html>
Test it Now

Output:

HTML rp tag

Attribute:

Tag-specific attributes:

The <rp> tag does not contain any specific attribute.

Global attribute:

The <rp> tag supports the global attributes in HTML

Event attribute:

The <rp> tag supports the event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<rp>YesYesYesYesYes
Next TopicHTML rt Tag




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf