Home >Web Front-end >HTML Tutorial >Detailed explanation of the use of html tag

Detailed explanation of the use of html tag

黄舟
黄舟Original
2017-06-20 10:17:333264browse

bdi refers to bidi isolation! bdi text allows you to set a piece of text to be independent of the text direction setting of the parent element. This tag is useful when posting user comments or other content that you have no control over!

Next is the code part!

<ul>
<li>username<bdi>bill</bdi>:80points</li>
<li>username<bdi>steven</bdi>:78points</li>
</ul>

Usage of tag. We can see from the code that the usage of is very simple. It serves as a distinction between blank spaces and highlights important text. The

<ul> 
<li>Username <bdi>Bill</bdi>:80 points</li> 
<li>Username <bdi>Steve</bdi>: 78 points</li> 
</ul>

tag allows you to set a piece of text independent of the text direction setting of its parent element.

This tag is useful when posting user comments or other content that you don't have complete control over. Like this:

<ul>
<li>Username <bdi>Bill</bdi>:80 points</li>
<li>Username <bdi>Steve</bdi>: 78 points</li>
</ul>

Tag definition and usage instructions

bdi refers to bidi isolation (Bi-directional Isolation). The

tag allows you to set a piece of text independent of the text direction setting of its parent element.

This tag is useful when posting user comments or other content that you don't have complete control over.

What are the attributes of the tag?

Detailed explanation of the use of html <bdi> tag

Which browsers support the tag?

Currently only Firefox and Chrome support the tag.

The above is the detailed content of Detailed explanation of the use of html tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn