Advertisement
BenjiFoxy1

html validation error

May 5th, 2021
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Contact Us - DigiMag</title>
  6. <link href="CSS/external.css" rel="stylesheet" type="text/css">
  7. <style>
  8. body {
  9. background-color: #90FF70;
  10. }
  11.  
  12. body {margin:0;}
  13.  
  14. ul {
  15. list-style-type: none;
  16. margin: 0;
  17. padding: 0;
  18. overflow: hidden;
  19. background-color: #1DE06E;
  20. position: -webkit-sticky; /* Safari */
  21. position: sticky;
  22. top: 0;
  23. }
  24.  
  25. li {
  26. float:left;
  27. }
  28.  
  29. li a {
  30. display: block;
  31. color: black;
  32. text-align: center;
  33. padding: 14px 16px;
  34. text-decoration: none;
  35. }
  36.  
  37. li a:hover:not(.active) {
  38. background-color: #0066E0;
  39. }
  40. li {
  41. float: left;
  42. border-right:1px solid #62f5f5;
  43. }
  44. .active {
  45. background-color: #90FF70;
  46. }
  47. <meta name="viewport" content="width=device-width, initial-scale=1">
  48.  
  49. body {
  50. font-family: "Arial, sans-serif";
  51. box-sizing: "border-box";}
  52.  
  53. input[type=text], select, textarea {
  54. width: 100%;
  55. padding: 12px;
  56. border: 1px solid #ccc;
  57. border-radius: 4px;
  58. box-sizing: border-box;
  59. margin-top: 6px;
  60. margin-bottom: 16px;
  61. resize: vertical;
  62. }
  63.  
  64. input[type=submit] {
  65. background-color: #4CAF50;
  66. color: white;
  67. padding: 12px 20px;
  68. border: none;
  69. border-radius: 4px;
  70. cursor: pointer;
  71. }
  72.  
  73. input[type=submit]:hover {
  74. background-color: #1de06e;
  75. }
  76.  
  77. .container {
  78. border-radius: 5px;
  79. background-color: #62f5f5;
  80. padding: 20px;
  81. }
  82.  
  83. </style>
  84. </head>
  85.  
  86. <body>
  87. <a href="images/Web-Banner.jpg">
  88. <div><img src="Images/Web-Banner.jpg" alt="Web Banner" class="responsive"/></div>
  89. </a>
  90. <div class="navbar">
  91. <ul>
  92. <li style="font-family: Arial, sans-serif;"><a href="index.html">Home</a></li>
  93. <li style="font-family: Arial, sans-serif;"><a href="latest.html">Latest</a></li>
  94. <li style="font-family: Arial, sans-serif;"><a href="about.html">About DigiMag</a></li>
  95. <li style="font-family: Arial, sans-serif;"><a href="pricing.html">Pricing</a></li>
  96. <li style="float:right; font-family: Arial, sans-serif;"><a href="login.html">Login</a></li>
  97. <li style="float:right; font-family: Arial, sans-serif;"><a class="active" href="contact.html">Contact</a></li>
  98. </ul>
  99.  
  100. <h1 style="font-family: Arial, sans-serif;">If you would like to contact us via email then please <a href="mailto:customersupport@digimag.com">click here.</a><br> If you don't then fill in the form below. Thank You.</h1>
  101.  
  102. <h3 style="font-family: Arial, sans-serif;">Contact Form</h3>
  103.  
  104. <div class="container">
  105. <form action="thanks.html">
  106. <label for="fname" style="font-family: Arial, sans-serif;">First Name</label>
  107. <input type="text" id="fname" name="firstname" placeholder="Your name..">
  108.  
  109. <label for="lname" style="font-family: Arial, sans-serif;">Last Name</label>
  110. <input type="text" id="lname" name="lastname" placeholder="Your last name..">
  111.  
  112. <label for="country" style="font-family: Arial, sans-serif;">Country</label>
  113. <select id="country" name="country">
  114. <option value="UK">UK</option>
  115. <option value="USA">USA</option>
  116. <option value="Austraila">Australia</option>
  117. <option value="Other">Other</option>
  118. </select>
  119.  
  120. <label for="subject" style="font-family: Arial, sans-serif;">Message</label>
  121. <textarea id="subject" name="subject" placeholder="Write something.." style="height:200px; font-family: Arial, sans-serif;"></textarea>
  122.  
  123. <input type="submit" value="Submit">
  124. </form>
  125. </div>
  126. </div>
  127. </body>
  128. </html>
  129.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement