Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head lang="en">
  4. <meta charset="UTF-8">
  5. <title>Page Title</title>
  6. </head>
  7. <style>
  8. #div1{
  9. background-color: orange;
  10. color: white;
  11. }
  12. .div2 {
  13. background-color: black;
  14. color: white;
  15. }
  16. </style>
  17. <body>
  18. <div id="div1">
  19. <h2>div1</h2>
  20. <p>This is paragraph</p>
  21. <p>This is paragraph</p>
  22. <p>This is paragraph</p>
  23. </div>
  24. <div class="div2">
  25. <h2>div2</h2>
  26. <p>This is paragraph</p>
  27. <p>This is paragraph</p>
  28. <p>This is paragraph</p>
  29. </div>
  30. </body>
  31. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement