jQuery:Selector :lang


Selects all elements of the specified language.

: Lang selector that matches a language value equal to the supplied language code, or starts with the supplied language code, followed immediately by a “-” element. For example, the selector $ ( “div: lang (en)”) would match <div lang = “en”> and <div lang = “en-us”> (and their descendants <div>), but not < Div lang = “fr”>

For HTML elements, the language value is determined by the lang attribute, or it may be determined by the meta element or HTTP header information.

A further discussion of this usage can be found in the W3C CSS specification.


language  V1.9

Language code


Select all of the language properties for <P>:


Leave a Reply

Your email address will not be published. Required fields are marked *