0

How do i make an email. Box in html

No Description Provided

19th Apr 2020, 2:42 AM
Ghostly Gamer
Ghostly Gamer - avatar
2 Réponses
+ 4
<form action="action_page.php">   <div class="container">     <h2>Heading</h2>     <p>Test</p>   </div>   <div class="container" style="background-color:white">     <input type="text" placeholder="Name" name="name" required>     <input type="text" placeholder="Email address" name="mail" required>     <label>       <input type="checkbox" checked="checked" name="Enter"> Daily Newsletter     </label>   </div>   <div class="container">     <input type="submit" value="Renter">   </div> </form>
19th Apr 2020, 7:44 AM
Manshu
Manshu - avatar
+ 4
form {   border: 4px solid #f1f1f1; } .container {   padding: 20px;   background-color: #f1f1f1; } input[type=text], input[type=submit] {   width: 100%;   padding: 12px;   margin: 8px 0;   display: inline-block;   border: 1px solid #ccc;   box-sizing: border-box; } input[type=checkbox] {   margin-top: 16px; } input[type=submit] {   background-color: #4CAF50;   color: white;   border: none; } input[type=submit]:hover {   opacity: 0.8; }
19th Apr 2020, 7:46 AM
Manshu
Manshu - avatar