Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>
- CSS got class.... CSS got style!
- </title>
- <style type = "text/css">
- body
- {
- background-color:#B90F15;
- }
- h1
- {
- color:#C78745;
- }
- p
- {
- color: purple;
- font-family: Impact;
- }
- table, td
- {
- border: 5px solid black;
- }
- /*This is a comment to let you know that the below is a class!*/
- .green
- {
- color:green;
- font-family: Impact;
- }
- </style>
- </head>
- <body>
- <h1> I don't know </h1>
- <p>I guess I don't know</p>
- <table class = "green">
- <tr>
- <td>cell 1</td>
- <td> cell 2 </td>
- </tr>
- <tr>
- <td>cell 3</td>
- <td> cell 4 </td>
- </tr>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement