Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>Html Website</title>
  5. <meta charset="utf-8">
  6. <style>
  7. body {
  8. background-color: cornflowerblue;
  9. text-align: center;
  10. }
  11.  
  12. h1 {
  13. color: red;
  14. }
  15.  
  16. #p1 {
  17. color: white;
  18. }
  19.  
  20. #p2 {
  21. color: black;
  22. }
  23.  
  24. #p3 {
  25. color: lawngreen;
  26. }
  27.  
  28. #p4 {
  29. color: yellow;
  30. }
  31.  
  32. #p5 {
  33. color: darkmagenta;
  34. }
  35. </style>
  36. </head>
  37. <body>
  38. <h1>This is a title</h1>
  39. <p id="p1">This is text 1</p>
  40. <br>
  41. <p id="p2">This is text 2</p>
  42. <br>
  43. <p id="p3">This is text 3</p>
  44. <br>
  45. <p id="p4">This is text 4</p>
  46. <br>
  47. <p id="p5">This is text 5</p>
  48. </body>
  49. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement