1: The lang attribute is used to specify the attribute value of an element and the reference language used to specify the content and text of the element.The default value is unknown. However, whether it is applicable or not depends on the syntax and attribute semantics, as well as the involved operations.
When a user's browser presents an HTML document, the benefits of this attribute are as follows:
(1) assisting search engines
(2) assist in speech synthesis
(3) assist in selecting symbol italics for High Quality Printing
(4) Select a set of quotation marks
(5) assist in solving the problem of hyphens, bindings, and spaces
(6) assist in spelling and grammar checks
2: dir
Copy codeThe Code is as follows:
<! Doctype html>
<Html>
<Head>
<Meta charset = "UTF-8">
<Title> Tang poetry </title>
</Head>
<Body>
<P style = "text-align: center"> <bdo dir = "RTL"> Furong building Xin Jian </bdo> </p>
<P style = "text-align: center"> <bdo dir = "RTL"> Wang Changling </bdo> </p>
<P style = "text-align: center"> <bdo dir = "RTL"> enter Wu at night in the cold rain, </bdo> </p>
<P style = "text-align: center"> <bdo dir = "RTL"> Ping Ming delivers the customer to Chushan Gu. </Bdo> </p>
<P style = "text-align: center"> <bdo dir = "RTL"> ask friends and friends in Luoyang </bdo> </p>
<P style = "text-align: center"> <bdo dir = "RTL"> a piece of ice is in the jade pot. </Bdo> </p>
</Body>
</Html>
RTL: right-to-left display