Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> :lang(en) > q { quotes: '\201C' '\201D' '\2018' '\2019'; } :lang(fr) > q { quotes: '« ' ' »'; } </style> </head> <body> <h2>:lang() selector example</h2> <div lang="en"> <q>Lorem ipsum is simply dummy text</q> </div> <div lang="fr"> <q>Lorem ipsum is simply dummy text</q> </div> </body> </html>