Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> div[class$="test"] { background: #ffff00; } </style> </head> <body> <div class="first_test">The first div element.</div> <div class="second">The second div element.</div> <div class="test">The third div element.</div> <p class="test">This is some text in a paragraph.</p> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss3_attr_end by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:14:17 GMT --> </html>
Result:
Try it Yourself - © w3schools.com