Share Pastebin
Guest
Public paste!

My websitees

By: a guest | Sep 9th, 2010 | Syntax: HTML | Size: 1.96 KB | Hits: 27 | Expires: Never
Copy text to clipboard
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" >
  5. <!-- Description: Index of assignment 1 -->
  6. <!-- Author: Jordan Wardle -->
  7. <!-- Date: 9/09/2010 -->
  8. <!-- Validated:  -->
  9. <head>
  10.         <title>Web 2.0 home</title>
  11.         <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  12.         <meta name="author" content="Jordan Wardle 7182791" />
  13.         <meta name="description" content="Web 2.0" />
  14.         <meta name="keywords" content="Web 2.0, Web, 2.0" />
  15.        
  16.         <!-- put this in an external sheet once i'm done -->
  17.         <style type="text/css">
  18.                 h1
  19.                 {
  20.                         color:black;
  21.                         font-size:45px;
  22.                 }
  23.                
  24.                 div
  25.                 {
  26.                         text-align: Center;
  27.                 }
  28.                
  29.                 #nav
  30.                 {
  31.                         margin-left:auto;
  32.                         margin-right:auto;
  33.                         list-style-type: none;
  34.                         font-size:20px;
  35.                         padding:0px;
  36.                 }
  37.                
  38.                 #nav li
  39.                 {
  40.                         display: inline;
  41.                         background: black;
  42.                         color: white;
  43.                 }
  44.                
  45.                 #nav li:hover, #nav a:link:hover
  46.                 {
  47.                         display: inline;
  48.                         background: white;
  49.                         color: black;
  50.                 }
  51.                
  52.                 #nav a:link, a, a:visited
  53.                 {
  54.                         color:white;
  55.                         background: black;
  56.                         text-decoration: none;
  57.                 }
  58.                
  59.                 #heading
  60.                 {
  61.                         margin-left:auto;
  62.                         margin-right:auto;
  63.                         width: 800px;
  64.                         text-align:center;
  65.                         border-top-style: solid;
  66.                         border-right-style: solid;
  67.                         border-left-style: solid;
  68.                         padding-top:0px;
  69.                         padding-bottom:0px;
  70.                         padding-right:0px;
  71.                         padding-left:0px;
  72.                 }
  73.                
  74.                 #mid
  75.                 {
  76.                         width: 800px;
  77.                         border-right-style: solid;
  78.                         border-left-style: solid;
  79.                         margin-left: auto;
  80.                         margin-right: auto;
  81.                         margin-top: auto;
  82.                         margin-bottom: auto;
  83.                         padding-top:0px;
  84.                         padding-bottom:0px;
  85.                         padding-right:0px;
  86.                         padding-left:0px;
  87.                 }
  88.         </style>
  89. </head>
  90. <body>
  91. <div id="heading">
  92.         <h1>Web 2.0</h1>
  93. </div>
  94. <div id ="mid">
  95.         <ul id="nav">
  96.                 <li><a href="index.htm">Home</a></li>
  97.                 <li>Option2</li>
  98.         </ul>
  99. </div>
  100. </body>