Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Which label is used to display Pinyin on html?

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "which label is used to display pinyin on html". The explanation content in this article is simple and clear, easy to learn and understand. Please follow the idea of Xiaobian and go deep into it slowly to study and learn "which label is used to display pinyin on html" together!

pinyin

pinyin

Check out the chrome results:

Awkward ah, no change ah, I thought it can magically automatic display pinyin. After a closer look, it turned out that Pinyin had to be written by itself. Okay, I changed it:

pinyin

Pinyin Pinyin

Let me see the results again:

It really can. However, I am not an easy person to satisfy, why not use phonetic tones, after all, I am not a foreigner, the wrong tone is also a shame, but input phonetic characters and html has nothing to do with it, is the function of the input method, I use the Sogou input method, it inputs letters with tones like this:

Open the soft keyboard of Sogou input method

Select Pinyin letters, see this soft keyboard can enter letters with tones, the final code is like this:

pinyin

I'm awesome, right?

And the end result is something like this.

Last but not least, it supports almost all new browsers. Here's a list of browsers it supports.

The basic mainstream has, if you need more detailed information, go to the official website to see it.

Update: There are comments that Pinyin and characters are not aligned. This is really not my fault. The length of Pinyin is not fixed. If you want to correspond to Chinese characters one by one, you can only use the ultimate Dafa, one word one spelling:

pinyin

I diāo

Li chóng

harm

JJ

The effects are as follows:

Thank you for reading, the above is "html with which label to display pinyin" content, after the study of this article, I believe that we have a deeper understanding of html with which label to display pinyin this problem, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report