Detailed explanation of the use of html tag

黄舟
Release: 2017-06-20 10:17:33
Original
3187 people have browsed it

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>
Copy after login

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>
Copy after login

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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template