<style>
label {
	margin-right: 5px;
}

input, textarea {
	display:block;
}
</style>
<?php
if ($_POST){
mail('ksecor@sdccd.edu','Contact Form',$_POST['fullname'].'<br>'.$_POST['email'].'<br>'.$_POST['phone'].'<br>'.$_POST['comments'],"Content-type: text/html");
echo "<h3>Thank you, We'll Be in Touch!</h3>";

}
?>

<form action="contact.php" method="post"> 
<label for="fullname">Name</label><input type="text" name="fullname"
 id="fullname" required><br>
 <label for="email">Email</label><input type="email" name="email"
 id="email" placeholder="Email Here" required><br>
  <label for="telephone">Phone</label><input type="tel" name="phone"
 id="telephone" placeholder="555-555-1212" pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}" required><br>
Comments<br><textarea name="comments" cols='40' rows="5"></textarea>
<input type="submit" name="submit" value="Drop Me a Line">
</form>