Contact page travel blog

by Justin Harker

HTML

<DOCTYPE! HTML>
<html lang="en">

<head>
	<meta charset="UTF-8" /meta>
	<title> www.bloggingoverborders.com/contact </title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="keywords" content="travel, asia, recommendations, blogging">
	<meta name="author" content="Justin Harker">
	<meta http-equiv="refresh" content="200">
	<link rel="stylesheet" href="style.css">
	<script src="javascript.js"> </script>
<style>

p {
	color: black;
}

#subject {
	width:100%;
}

input[type=email] {
	width: 100%;
	line-height: 1.5em;
	border: 1px solid black;
}

input[type=text], select, textarea {
    	width: 100%;
    	margin-top: 5px;
    	margin-bottom: 5px;
	line-height: 1.5em;
	border: 1px solid black;
  
}

input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px 15px 20px;
    border: none;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #45a049;
}

#contact-form {
	float: left;
	margin-left: 150px;
	width: 80%;
	height: 75%;
	padding: 50px;
	background-color: teal;
   	border: 5px solid lightgrey;
   				
}

</style>

</head>
<body>



<div id="wrapper">
      <div class="header">
        <a href="http://www.bloggingoverborders.com/login"></a>
        <h1> Blogging Over Borders </h1>
        <h6>Contact Me Page</h6>
</div>

<div class="top-nav">
        <ul>
          <li> <a href="contact.html" target="_blank"> Contact</a> </li>
          <li> <a href="home.html" target="_blank">Home</a> </li>
          <li> <a href="image_gallery.html" target="_blank">Image Gallery<a/> </li>
</div>


<form method="post" action="contact.php" id="contact-form">
        <div id="contact-form-controls">
        <legend>Contact Form</legend> <br>
	<p>For all business related enquiries or feedback related to my travel blog, please fill out and submit the below form and I will get back to you as soon as possible.</p> 
            <fieldset>
            <label for="email-address">Email Address:</label>...

CSS

/*reset style sheet - from Foundation Website Creation with HTML5, CSS3, and Javascript textbook*/

html, body, div, span, object, iframe, 
h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, abbr, address, cite, code, 
del, dfn, em, img, ins, ins, kbd, q, samp, small, strong, 
sub, var, b, i, dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, table, caption, tbody, 
thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, 
menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

body {
  line-height: 1;
}

/* tell the browser to display the below elements as blocks, rather than inline elements */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/*clear out the styling on lists i.e. remove bullets and numbers */

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after,
  {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

/*standardise the display of tables and table borders*/

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

/*end of reset style sheet*/

/*Include padding and border in the element's total width and height: */

* {
  box-sizing: border-box;
}

/*set up a Global wrapper with a width of 80%*/

#wrapper {
  width: 80%;
 ...