HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> [title^=fruit]{ color: green; } </style> </head> <body> <h1>CSS [attribute^=value] Selector</h1> <p title="apple fruit">apple</p> <p title="orangefruit">Orange</p> <p title="fruit pineapple">Pineapple</p> <p title="fruit-banana">Banana</p> <p title="mango-fruit">Mango</p> </body> </html>
OUTPUT
×

Save as Private