Home >
Web Front-end >
JS Tutorial >
Detailed explanation of HTML5 lang attribute and dir attribute_Basic knowledge
Detailed explanation of HTML5 lang attribute and dir attribute_Basic knowledge
WBOY
Release: 2016-05-16 17:32:04
Original
1194 people have browsed it
1: The lang attribute is used to specify the attribute value of the element and the base language used by the element's content text . The default value is unknown. However, whether it is applicable to the attribute also depends on the syntax and semantics of the attribute, as well as the volume Input operation When the user browser renders an HTML document, the benefits of this attribute are as follows: (1) Assist search engines (2) Assist in speech synthesis (3) Assist in selecting symbol variants for high-quality printing (4) Assist in selecting a set of quotation marks (5) Assist in resolving hyphens, bindings and spaces (6) Assist with spelling and grammar checking 2: Text direction attribute dir
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