<!DOCTYPE html> <body> <style> p { color: blue } </style> <p>First</p> <p id=a> <style scoped> #a { color: green } </style> Second </p> <p>Third</p> </body>