" comments (that is, the text being commented); an rb element should wrap each individual atomic segment of the basic text. Although rb is not an empty element, only the start tag of each element is usually included in the source code."/> " comments (that is, the text being commented); an rb element should wrap each individual atomic segment of the basic text. Although rb is not an empty element, only the start tag of each element is usually included in the source code.">
Home > Article > Web Front-end > What is the meaning of rb tag in html5
The full name of rb is Ruby Base. It is an element in html5 and is used to separate the basic text components of the "ec41f2147470148e85ad0337a362103e" comment (that is, the text being commented); an rb element should wrap each element of the basic text Individual atomic segments. Although rb is not an empty element, only the start tag of each element is usually included in the source code.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
HTML 6c9a2a0569fd4bced8daf940ff510cf2 Tag Function
HTML Ruby Base (6c9a2a0569fd4bced8daf940ff510cf2) element is used to separate ec41f2147470148e85ad0337a362103e comments The basic text component (i.e. the text being annotated).
An 6c9a2a0569fd4bced8daf940ff510cf2 element should wrap each individual atomic segment of base text.
Usage Notes
Ruby annotations are used to display the pronunciation of East Asian characters, such as texts using Japanese romanization and Chinese pinyin. The
6c9a2a0569fd4bced8daf940ff510cf2 element is used to separate each fragment of ruby basic text.
Although 6c9a2a0569fd4bced8daf940ff510cf2 is not an empty element, only the opening tag of each element is usually included in the source code.
So ruby markup is less complex and easier to read. In the rendered version, the browser can also fill in the complete element.
You need to include a 7240f116d85a7ee375466871bc33670a element for each basic segment (6c9a2a0569fd4bced8daf940ff510cf2 element) you want to annotate.
Example
In this example we provide annotations for the original character equivalent of "hanzi":
<ruby> <rb>漢</rb>字 <rp>(</rp><rt>han</rt>zi<rp>)</rp> </ruby>
Please note how we Contains two 6c9a2a0569fd4bced8daf940ff510cf2 elements to separate two separate parts of ruby base text. Comments, on the other hand, are separated by two 7240f116d85a7ee375466871bc33670a elements.
Note that we could also have written this example with two basic text sections annotated entirely separately. In this case, we do not need to include the 6c9a2a0569fd4bced8daf940ff510cf2 element:
<ruby> 漢 <rp>(</rp><rt>han</rt><rp>)</rp> 字 <rp>(</rp><rt>zi</rt><rp>)</rp> </ruby>
Related recommendations: "html video tutorial"
The above is the detailed content of What is the meaning of rb tag in html5. For more information, please follow other related articles on the PHP Chinese website!