Created
October 12, 2014 04:27
-
-
Save fisherds/26c306f88e8bd26eadcc to your computer and use it in GitHub Desktop.
What color are the letters in the Hello World text below?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>P Colors (all real colors)</title> | |
| <style> | |
| body { | |
| color: PaleGoldenRod; | |
| } | |
| h1 { | |
| color: PapayaWhip; | |
| } | |
| #mytitle.hola { | |
| color: PeachPuff; | |
| } | |
| #mytitle { | |
| color: Peru; | |
| } | |
| h1.hola { | |
| color: Pink; | |
| } | |
| h1 #mytitle .hola { | |
| color: Plum; | |
| } | |
| h1 { | |
| background-color: PowderBlue !important; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <h1 id="mytitle" class="hola" style="background-color: Purple;">Hello World!</h1> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment