Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head lang="en">
- <meta charset="UTF-8">
- <title>Page Title</title>
- </head>
- <style>
- #div1{
- background-color: orange;
- color: white;
- }
- .div2 {
- background-color: black;
- color: white;
- }
- </style>
- <body>
- <div id="div1">
- <h2>div1</h2>
- <p>This is paragraph</p>
- <p>This is paragraph</p>
- <p>This is paragraph</p>
- </div>
- <div class="div2">
- <h2>div2</h2>
- <p>This is paragraph</p>
- <p>This is paragraph</p>
- <p>This is paragraph</p>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement