Web front-end learning Ruby tags and RT/RP tags

Source: Internet
Author: User

Ruby tags define ruby annotations (Chinese phonetic notation or characters). Ruby tags are used with RT tags.
A ruby tag consists of one or more characters (requiring an explanation/pronunciation) and an RT tag that provides that information, as well as an optional RP tag that defines what is displayed when the browser does not support Ruby markup.

Basic syntax:

<Ruby>in<RP>(</RP><RT>Zhong</RT><RP>)</RP>Country<RP>(</RP><RT>Guo</RT><RP>)</RP>    </Ruby>

Attention:

RP tags and RT tags in basic syntax Note that this is written in the book "the 3rd edition of the Web Front-end development technology," Hisayoshi.

<Ruby>in<RT><RP>(</RP>Zhong<RP>)</RP></RT>Country<RT><RP>(</RP>Guo<RP>)</RP></RT>    </Ruby><BR>

This shows the

Output a browser that does not support Ruby markup in a browser that supports Ruby markup

Web front-end learning Ruby tags and RT/RP tags

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.