Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>Lab 1</title>
  7. <style id="jsbin-css">
  8. .header{
  9. color : SteelBlue;
  10. }
  11.  
  12. #courseTitle {
  13. font-style : 'italic';
  14. font-size : 16px;
  15. }
  16.  
  17. #labTitle {
  18. color : red;
  19. font-size : 14px;
  20. }
  21.  
  22. p > strong {
  23. color:red;
  24. }
  25.  
  26. line {
  27. stroke:SteelBlue;
  28. stroke-width:5px;
  29. }
  30.  
  31. #svgbox {
  32. color:red;
  33. }
  34. </style>
  35. </head>
  36. <body>
  37. <h2 class = 'header'> Jingtian Zhou</h2>
  38. <h3 class = 'header'>jz3525</h3>
  39. <hr>
  40. <p id = 'courseTitle'>Data Visualization</p>
  41. <p id = 'labTitle'>Lab 1</p>
  42. <hr>
  43. <p>This is my <strong>first</strong> <em><strong>HTML</strong></em> page.</p>
  44.  
  45. <svg width='400' height = '400' id = 'svgbox'>
  46. <rect x='55' y = '85' width='200' height = '200' style='fill:orange; stroke:black' />
  47. <circle cx = '150' cy = '170' r = '10' style = 'fill:green; stroke:red; stroke-width:3px'/>
  48. <line x1='100' y1='150' x2 ='150' y2 ='150' />
  49. <line x1='125' y1='150' x2 ='125' y2 ='200' />
  50. <line x1='127' y1='200' x2 ='107' y2 ='200' />
  51. <g transform='rotate(30) translate(50,-100)'>
  52. <line x1='175' y1='150' x2 ='225' y2 ='150' />
  53. <line x1='225' y1='150' x2 ='175' y2 ='200' />
  54. <line x1='175' y1='200' x2 ='225' y2 ='200' />
  55. </g>
  56. </svg>
  57.  
  58. <script id="jsbin-source-html" type="text/html"><!DOCTYPE html>
  59. <html>
  60. <head>
  61. <meta charset="utf-8">
  62. <meta name="viewport" content="width=device-width">
  63. <title>Lab 1</title>
  64. </head>
  65. <body>
  66. <h2 class = 'header'> Jingtian Zhou</h2>
  67. <h3 class = 'header'>jz3525</h3>
  68. <hr>
  69. <p id = 'courseTitle'>Data Visualization</p>
  70. <p id = 'labTitle'>Lab 1</p>
  71. <hr>
  72. <p>This is my <strong>first</strong> <em><strong>HTML</strong></em> page.</p>
  73.  
  74. <svg width='400' height = '400' id = 'svgbox'>
  75. <rect x='55' y = '85' width='200' height = '200' style='fill:orange; stroke:black' />
  76. <circle cx = '150' cy = '170' r = '10' style = 'fill:green; stroke:red; stroke-width:3px'/>
  77. <line x1='100' y1='150' x2 ='150' y2 ='150' />
  78. <line x1='125' y1='150' x2 ='125' y2 ='200' />
  79. <line x1='127' y1='200' x2 ='107' y2 ='200' />
  80. <g transform='rotate(30) translate(50,-100)'>
  81. <line x1='175' y1='150' x2 ='225' y2 ='150' />
  82. <line x1='225' y1='150' x2 ='175' y2 ='200' />
  83. <line x1='175' y1='200' x2 ='225' y2 ='200' />
  84. </g>
  85. </svg>
  86. </body>
  87. </html>
  88.  
  89. </script>
  90.  
  91. <script id="jsbin-source-css" type="text/css">.header{
  92. color : SteelBlue;
  93. }
  94.  
  95. #courseTitle {
  96. font-style : 'italic';
  97. font-size : 16px;
  98. }
  99.  
  100. #labTitle {
  101. color : red;
  102. font-size : 14px;
  103. }
  104.  
  105. p > strong {
  106. color:red;
  107. }
  108.  
  109. line {
  110. stroke:SteelBlue;
  111. stroke-width:5px;
  112. }
  113.  
  114. #svgbox {
  115. color:red;
  116. }</script>
  117. </body>
  118. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement