Advertisement
MrsMcLead

CSS Intro Example

Feb 4th, 2014
489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.58 KB | None | 0 0
  1. <html>
  2. <head>
  3.  
  4. <title>
  5. Will you work
  6. </title>
  7.  
  8. <style type="text/css">
  9. body
  10. {
  11.     background-color: #FF0066;
  12. }  
  13.  
  14. h1
  15. {
  16.     color:blue;
  17. }
  18.  
  19. h2
  20. {
  21.     color: green;
  22.     text-align: right;
  23. }
  24. p
  25. {
  26.     color: purple;
  27.     font-family: Impact;
  28. }
  29. table, td
  30. {
  31.     border: 1px solid black;
  32. }
  33. </style>
  34.  
  35. </head>
  36.  
  37.  
  38. <body>
  39. <h1> Big Heading </h1>
  40. <p>
  41. <a href = "workingLink.html"> Click my working linky, please!</a>
  42. </p>
  43. <h2> Little Heading </h2>
  44. <table>
  45. <tr>
  46.     <td>Cell One </td>
  47.     <td>Cell Two </td>
  48. </tr>
  49. <tr>
  50.     <td>Cell Three </td>
  51.     <td>Cell Four </td>
  52. </tr>
  53.  
  54. </body>
  55. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement