Professor_Stein

Basic Codes

Oct 22nd, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style>
  5.  
  6.  
  7. </body>
  8. </html>
  9.  
  10.  
  11.  
  12. <h1 style="text-align:center;">TEXT</h1>
  13. <p style="text-align:center;">TEXT</p>
  14.  
  15.  
  16. <h1 style="font-size:#%;">TEXT</h1>
  17. <p style="font-size:#%;">TEXT</p>
  18.  
  19. <body style="background-color:powderblue;">
  20.  
  21. <h2 style="color:red;">I am red</h2>
  22.  
  23. <a href="LINK" target="_blank">NAME</a>
  24.  
  25. <b> - Bold text</b>
  26. <strong> - Important text</strong>
  27. <i> - Italic text</i><br>
  28. <em> - Emphasized text</em>
  29. <mark> - Marked text</mark>\
  30. <small> - Small text</small>
  31. <del> - Deleted text</del>
  32. <ins> - Inserted text</ins>
  33. <sub> - Subscript text</sub>
  34. <sup> - Superscript text</sup>
  35.  
  36. <abbr title="TEXT">1ST LETTER 4 EACH WORD</abbr>
  37.  
  38. #TRAGET {
  39. color: red;
  40. text-align: center;
  41. }
  42. <p id="TARGET">TEXT</p>
  43.  
  44. h1, h2, p {
  45. text-align: center;
  46. color: red;
  47. }
  48. </style>
  49. </head>
  50. <body>
  51.  
  52. <h1>Hello World!</h1>
  53. <h2>Smaller heading!</h2>
  54. <p>This is a paragraph.</p>
  55.  
  56. <style>
  57. .pfor{display:none;}
  58. body {background-color: #000000;}
  59. body {background-image:url("BACKGROUND URL HERE"); background-attachment:fixed; background-size:cover;}
  60. #pbox {margin: auto;
  61. width: 600px;
  62. background-color:black;
  63. border-style: solid;
  64. border-width: 2px;
  65. border-color: #333;
  66. padding: 5px;
  67. }
  68. </style>
Add Comment
Please, Sign In to add comment