TEXT 47
Colors Guest on 12th July 2020 03:25:18 PM
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>COLORS</title>
  5. <style>
  6. body
  7. {
  8. width:100%
  9. }
  10. .orange
  11. {
  12. background-color:#ff7d00;
  13. }
  14. .cynan
  15. {
  16. background-color:#00FFFF;
  17. }
  18. .raspberry
  19. {
  20. background-color:#FF007D;
  21. }
  22. </style>
  23. </head>
  24. <body>
  25. <div class="orange">the div element with class orange should be have background-color orange</div>
  26. <div class="cynan">the div element with class cynan should be have background-color cyan</div>
  27. <div class="raspberry">the div element with class raspberry should be have background-color raspberry</div>
  28.  
  29. </body>
  30. </html>

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.