Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title> attribute selector</title>
- <style>
- a[href$="pdf"] {
- color: red;
- }
- </style>
- </head>
- <body>
- <a href="test.pdf">Test</a>
- <a href="test.PDF">Test</a>
- <a href="test.pDF">Test</a>
- <a href="test.html">Test</a>
- <a href="test.xml">Test</a>
- <pre>
- a[href$="pdf" i]
- </pre>
- </body>
- </html>
Add Comment
Please, Sign In to add comment