| 1 | <!DOCTYPE html> |
| 2 | <html><head> |
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| 4 | <title>test.css</title> |
| 5 | <meta name="generator" content="KF5::SyntaxHighlighting - Definition (CSS/PHP) - Theme (Breeze Light)"/> |
| 6 | </head><body style="background-color:#ffffff;color:#1f1c1b"><pre> |
| 7 | h1 { |
| 8 | text-color<span style="color:#924c9d">:</span> <span style="color:#bf0303">"red"</span><span style="color:#ca60ca">;</span> |
| 9 | } |
| 10 | |
| 11 | <span style="color:#898887">/* PHP code, invalid in CSS context */</span> |
| 12 | for<span style="color:#b08000;font-style:italic">()</span> |
| 13 | |
| 14 | <span style="font-weight:bold"><?php</span> <span style="font-weight:bold">echo</span>(<span style="color:#bf0303">"hello"</span>)<span style="color:#006e28">;</span> |
| 15 | |
| 16 | <span style="color:#898887">// valid code in PHP context</span> |
| 17 | <span style="font-weight:bold">for</span>() |
| 18 | |
| 19 | <span style="font-weight:bold">?></span> |
| 20 | |
| 21 | h2 { |
| 22 | text-weight<span style="color:#924c9d">:</span> <span style="color:#b08000">bold</span><span style="color:#ca60ca">;</span> |
| 23 | } |
| 24 | |
| 25 | </pre></body></html> |