Advertisement
Guest User

Untitled

a guest
Feb 14th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.21 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="en">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="description" content="Student Website of Anon">
  6.         <meta name="keywords" content="website, HTML5, HTML, student">
  7.         <meta name="author" content="Anon">
  8.        
  9.         <title>Anon</title>
  10.        
  11.         <!-- CSS -->
  12.         <style>
  13.             * {
  14.                 font-family: Georgia, Arial, Verdana, "Times New Roman";
  15.             }
  16.             body {
  17.                 background-color: #00FFFF;
  18.             }
  19.             #divPhotoOne {
  20.  
  21.                 margin-left: auto; /* This sets the image to */
  22.                 margin-right: auto; /* The centre of the page. */
  23.                 width: 300px;
  24.                 height: 300px;
  25.                 border: 15px solid gray;
  26.                 border-radius: 12px;
  27.             }
  28.             #myName {
  29.                 text-align: center;
  30.                 font-size: 2.5em; /* 2.5em = 40px */
  31.                 color: #FF00FF;
  32.             }
  33.             #myNumber {
  34.                 text-align: center;
  35.                 font-size: 40px; /* 40px = 2.5em */
  36.                 color: #FF00FF;
  37.             }
  38.             #firstHeader {
  39.                 font-size: 21px;
  40.                 color: #FF00FF;
  41.                 text-decoration: underline;
  42.             }
  43.             #firstPara {
  44.                 font-size: 21px;
  45.                 text-indent: 40px;
  46.             }
  47.             #secondHeader {
  48.                 font-size: 21px;
  49.                 color: #FF00FF;
  50.                 text-decoration: underline;
  51.             }
  52.             #secondPara {
  53.                 font-size: 21px;
  54.                 text-indent: 40px;
  55.             }
  56.             #divPhotoTwo {
  57.                 margin-right: 0;
  58.                 margin-left: auto;
  59.                 width: 232px;
  60.                 height: 150px;
  61.                 border: 5px solid gray;
  62.                 border-radius: 12px;
  63.             }
  64.             #bottomToTop {
  65.                 font-size: 12px;
  66.         </style>
  67.     </head>
  68.     <body>
  69.         <a id="anchorTop"></a>
  70.         <br>
  71.         <div id=divPhotoOne>
  72.             <img src="assets/img/face.jpg" alt="Photo One">
  73.         </div>
  74.         <h1 id="myName"> Text </h1>
  75.         <h1 id="myNumber"> Text </h1>
  76.  
  77.         <h2 id="firstHeader"> Text </h2>
  78.         <p id="firstPara">
  79.             text
  80.             <br>text
  81.         </p>
  82.        
  83.         <br><h2 id="secondHeader"> Text </h2>
  84.         <p id="secondPara">
  85.             text
  86.             <br>text
  87.         </p>
  88.        
  89.         <div id=divPhotoTwo>
  90.             <img src="assets/img/logo-2.jpg" alt="Photo Two">
  91.         </div>
  92.        
  93.         <p id="htmlSiteLink">
  94.             <a href="http://www.w3schools.com/"> Click here </a> for more information on HTML, CSS, and JavaScript used in this webpage.
  95.         </p>
  96.         <br><p id="bottomToTop"> <a href="#anchorTop">Click here</a> to return to the beginning of the page. </p>
  97.        
  98.         <!-- JavaScript -->
  99.         <script>
  100.            
  101.         </script>      
  102.     </body>
  103. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement