Use the :lang pseudo-class over the lang attribute selector for language-specific styles

added by JavaScript Kicks
1/16/2019 7:10:34 AM

382 Views

The content of HTML documents can be in many different languages. To specify the primary language of a document, we use the lang attribute on the root element. <html lang="en"> We can also use the lang attribute within the page to demarcate specific elements or


0 comments