Output

not applyed scoped style

applyed scoped style

Sample Code

This is a demo for scoped style element.

HTML:

<p>not  applyed  scoped  style</p>
<div>
<p>applyed  scoped  style</p>
<style  scoped>
    p {color:blue;}
</style>
</div>